Balearic Islands having partitioned his domains between his sons in his will. The will created a new Kingdom of Mallorca from the Balearic islands and the mainland counties of Roussillon or Montpellier, which was left to his son James II. However, the terms of the will specified that the new kingdom be a vassal state to the Kingdom of Aragon, which was left to his older brother Peter. Chafing under the vassalage, James joined forces with the Pope Martin IV and Philip III of France against his brother in the Aragonese Crusade, leading to a 10-year Aragonese occupation before the islands were
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