The Empire of Japan occupied the Dutch East Indies (now Indonesia) during World War II from March 1942 until after the end of the war in September 1945.
In May 1940, Germany occupied the Netherlands, and martial law was declared in the Dutch East Indies. Following the failure of negotiations between the Dutch authorities and the Japanese, Japanese assets in the archipelago were frozen. The Dutch declared war on Japan following the 7 December 1941 attack on Pearl Harbor. The Japanese invasion of the Dutch East Indies began on 10 January 1942, and the Imperial Japanese Army overran the entire colony in less than three months. The Dutch surrendered on 8 March. Initially, most Indonesians welcomed the Japanese as liberators from their Dutch colonial masters.