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 restored in the 1295 Treaty of Anagni. The tension between the kingdoms continued through the generations until James' grandson James III was killed by the invading army of Peter's grandson Peter IV at the 1349 Battle of Llucmajor. The Balearic Islands were then incorporated directly into the kingdom of Aragon. In 1469, Ferdinand II of Aragon (king of Aragon) and Isabella I of Castile (queen of Castile) were married. After their deaths, their respective territories (until then governed separately) were governed jointly, in the person of their grandson, the Emperor Charles V. This can be considered the foundation of the