History of Madagascar
By the 15th century, Europeans had wrested control of the spice trade from the Muslims. They did this by bypassing the Middle East and sending their cargo-ships around the Cape of Good Hope to India. The Portuguese mariner Diogo Dias became the first European to set foot on Madagascar when his ship, bound for India, blew off course in 1500. In the ensuing two-hundred years, the English and French tried (and failed) to establish settlements on the island.
Madagascar
From about 1774 to 1824, Madagascar gained prominence among pirates and European traders, particularly those involved in the trans-Atlantic slave trade. The small island of Nosy Boroha off the northeastern coast of Madagascar has been proposed by some historians as the site of the legendary pirate utopia of Libertalia. Many European sailors were shipwrecked on the coasts of the island, among them Robert Drury, whose journal is one of the few written depictions of life in southern Madagascar during the 18th century. The wealth generated by maritime trade spurred the rise of organized kingdoms on the island, some of which had grown quite powerful by the 17th century. Among these were the Betsimisaraka alliance of the eastern coast and the Sakalava chiefdoms of Menabe and Boina on the west coast. The Kingdom of Imerina, located in the central highlands with its capital at the royal palace of Antananarivo, emerged at around the same time under the leadership of King Andriamanelo.