James inherited from his father a realm including three of the Balearic Islands, the counties of Roussillon and Cerdanya, the dominion of Montpellier, the barony of Aumelàs, and the viscounty of Carladès. He also gained tribute from the fourth Balearic island, Menorca, which remained under Muslim control throughout his life. He ruled as a vassal of his brother Peter III of Aragon, a subordinate status which he sought to escape. In 1276, his former seneschal, Ramon Llull persuaded James to fund a language school for Franciscan missionaries at Miramar. France and Aragon contested for control of Sicily. James held rights over borderlands that were indefensible and, in anticipation of an invasion, reached an agreement with king Philip III of France. This strained relations between Aragon and Majorca. Peter of Aragon seized Perpignan, and although James was able to escape, Peter sent two of James' sons to Barcelona. With this, James sided with the French. His nephew Alfonso III of Aragon annexed the Balearic Islands to Aragon in the conquest, but they were returned by the Treaty of Anagni in 1295. Following this reversion, James made an effort to improve the viability of the kingdom on the domestic front. He devoted himself to running his kingdom by reforming urbanism, establishing agricultural policy, emphasising defense, and reforming the economy. He implemented a vast policy of agricultural colonisation with the creation of rural centres; increase royal rents; favoured the creation of a consulates in the Kingdom of Granada; created a new monetary system for the kingdom; promoted the creation of textile industries; proceeded to increase the power of the crown over that of the nobility and the Church; and ordered the construction of several palaces and castles, including the palace at Perpignan, the Palace of Almudaina, the Cathedral of Santa María at Palma de Mallorca, known today as La Seu, and, finally, Bellver Castle. The opening of criminal proceedings against the Knights Templar and their later suppression would allow the seizure of the tithes of the Templars on the islands. Although a vassal of Aragon, in 1302 James began to create his own consulates along the North African coast.
Family
James wed Esclaramunda of Foix in 1275 through a marriage arranged by his own initiative and not that of his father's. Esclaramunda was a daughter of Roger IV of Foix. They had six children including: