Balearic Islands of the rest of Spain, but have their own distinctive features. The archipelago forms an autonomous community and a province of Spain, with Palma de Mallorca as the capital. The 2007 Statute of Autonomy declares the Balearic Islands as one "nationality" of Spain. The co-official languages in the Balearic Islands are Catalan and Spanish. The official name of the Balearic Islands in Catalan is "Illes Balears", while in Spanish, they are known as the "Islas Baleares". The term "Balearic" derives from Greek (/"Gymnesiae" and /"Balliareis"). In Latin, it is "Baleares". Of the various theories on the origins of the two
Balearic Islands modern Spanish state, albeit a decentralised one wherein the various component territories within the united crowns retained their particular historic laws and privileges. The Balearic Islands were frequently attacked by Barbary pirates from North Africa; Formentera was even temporarily abandoned by its population. In 1514, 1515 and 1521, the coasts of the Balearic Islands and the Spanish mainland were raided by Turkish privateers under the command of the Ottoman admiral, Hayreddin Barbarossa. The island of Menorca was a British dependency for most of the 18th century as a result of the 1713 Treaty of Utrecht. This treaty—signed by the Kingdom