Indonesia was colonized by the Netherlands in the 17th century and renamed the Dutch East Indies. During this time, the Dutch captured thousands of Malagasy people from Madagascar and forced them to work on pepper plantations in their colonies as slaves. The Dutch treated the islands like their property until World War II. 