The reasons for European colonization of Indonesia were varied, but included economic and political motivations. The Portuguese were the first to colonize Indonesia in the 16th century, followed by the British and Dutch in the 18th century. The Japanese colonized Indonesia during World War II, and the Dutch regained control after the war. The main motivations for colonization were economic gain and political power. Colonization allowed the Europeans to gain access to natural resources and to control trade in the region.