Libertalia (also known as Libertatia) was an anarchist colony founded in the late 17th century in Madagascar by pirates under the leadership of Captain James Misson. Whether or not Libertatia actually existed is disputed. It is described in the book A General History of the Pyrates by Captain Charles Johnson, an otherwise unknown individual who may have been a pseudonym of Daniel Defoe. According to Johnson's description, Libertalia lasted for about 25 years. The precise location is not known, however, most sources say it stretched from the Antongil Bay to Mananjary, Fianarantsoa, including Île Sainte-Marie and Mahavelona. Thomas Tew, Misson and a Dominican priest named Signor Caraccioli were involved in founding it.
Libertatia was a legendary free colony forged by pirates and the pirate Captain Misson, although some historians have expressed doubts over its existence outside of literature. Historian and activist Marcus Rediker describes the pirates as follows:
These pirates who settled in Libertalia would be "vigilant Guardians of the People's Rights and Liberties"; they would stand as "Barriers against the Rich and Powerful" of their day. By waging war on behalf of "the Oppressed" against the "Oppressors," they would see that "Justice was equally distributed."
Although the existence of Libertatia is contested, the radical ideas that it represented were very common in various pirate-era events. After the American Revolution, pirates fleeing from England were wrecked on an island and set up their own Libertatia. They called their new island "the Republic of Spensonia", after a fictional Utopian country created by the English author and political reformer Thomas Spence. According to A. L. Morton, it "looks backward to the medieval commune and forward to the withering away of the state."