Pirate utopias were described by anarchist writer Peter Lamborn Wilson, who coined the term, in his 1995 book Pirate Utopias: Moorish Corsairs & European Renegadoes as secret islands once used for supply purposes by pirates. Wilson's concept is largely based on speculation, although even he admits a bit of fantasy. In Wilson's view, these pirate enclaves were early forms of autonomous proto-anarchist societies in that they operated beyond the reach of governments and embraced unrestricted freedom.
Located on the Barbary Coast (Salé, Algiers and Tunis), those bases were havens for renegade Muslim pirates from the 16th to the 18th century. The pirates, dubbed "Barbary Corsairs", ravaged European shipping operations and enslaved many thousands of captives. However, thousands of Europeans also converted to Islam, forming the "Renegados" and joining the pirate holy war. Wilson writes that these men and women were not only apostates and traitors, as they were considered in their homelands, but their voluntary betrayal of Christendom can also be thought of as a praxis of social resistance. Wilson focuses on the Pirate Republic of Salé, in 17th century Morocco, which may have had its own lingua franca. Like some other pirate states, it even used to pass treaties from time to time with some European countries, agreeing not to attack their fleets. Wilson/Bey's idea of Temporary Autonomous Zones developed from his historical review of pirate utopias. When describing them Wilson says "We've certainly had to use our imagination more than a "real" historian would allow, erecting a lot of suppositions on a shaky framework of generalizations, and adding a touch of fantasy (and what piratologist has ever been able to resist fantasy?). I can only say that I've satisfied my own curiosity at least to this extent: That something like a Renegado culture could have existed; that all the ingredients for it were present, and contiguous, and synchronic."
Libertatia (also known as Libertalia) was a possibly fictional 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. Much of the book is a mixture of fact and fiction, and it is possible the account of Libertatia is entirely fabricated.
According to Johnson's description, Libertatia lasted for about 25 years. The precise location is not known, however, most sources say it stretched from the Bay of Antongil to Mananjary, including Île Sainte Marie and Foulpointe. Thomas Tew, Misson, and an Italian Dominican priest named Caraccioli were involved in founding it.
Libertalia is also a central plot element and setting in the video game Uncharted 4: A Thief's End.