History of Madagascar
Europe knew of Madagascar through Arab sources; based on them "The Travels of Marco Polo" claimed that "the inhabitants are Saracens, or followers of the law of Mohammed", without mentioning other inhabitants. Other than its size and location, everything about the island in the book describes southeastern Africa, not Madagascar. European contact began on 10 August 1500, when the Portuguese sea captain Diogo Dias sighted the island after his ship separated from a fleet going to India. The Portuguese continued trading with the islanders and named the island "São Lourenço" (Saint Lawrence). In 1666, François Caron, the director general of the newly formed French East India Company, sailed to Madagascar. The company failed to establish a colony on Madagascar but established ports on the nearby islands of Bourbon (now Réunion) and Isle de France (now Mauritius). In the late 17th century, the French established trading posts along the east coast. On Île Sainte-Marie, a small island off the northeastern coast of Madagascar, Captain Misson and his pirate crew allegedly founded the famous pirate utopia of Libertatia in the late 17th century. From about 1774 to 1824, Madagascar was a favorite haunt for pirates. 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. Sailors sometimes called Madagascar "Island of the Moon".
Nosy Be
Nosy Be made first major appearance in Madagascar's history when King Radama I announced that he intended to conquer the whole west of the red island up to the sea. That plan was eventually achieved when the Sakalava Kingdom of Boina came into his possession in 1837 when Queen Tsiomeko's army was defeated. The French colonized the island from 1840, founding an outpost named Hell-Ville (from French Admiral de Hell). In 1849, slavery was abolished by the French, though the slaves were owned by Malagasies. It caused a Malagasy revolt against the French. In the late 19th and early 20th centuries, the island was governed by the French as an internal protectorate within the colony of Madagascar. The French used both military force and diplomacy to maintain their position in the island, appointing the former ruler of Nosy Be Binao as the "gouverneur principal" of the island. Though it was difficult for the French to control the littoral, they founded a plantation colony in Nosy Be, mainly producing sugar and cash crops. 
During the Russo-Japanese War Nosy Be became a supply station for Russia's Second Pacific Squadron. The main fleet led by Admiral Zinovy Rozhestvensky reached Nosy Be on January 9, 1905, where it met a smaller detachment led by Admiral Dmitry von Fölkersam that had arrived already on December 28, 1904. The fleet stayed for two months for refurbishing and coaling, leaving on March 17 to meet its fate ten weeks later at the Battle of Tsushima.