 The island was populated from neighbouring East Africa with later arrival of Arabs, who brought Islam.A sultanate was established in 1500.In the 19th century, Mayotte was conquered by Andriantsoly, former king of Iboina on Madagascar, and later by the neighbouring islands Mohéli and then Anjouan before being purchased by France in 1841.