King Sancho's marriage was childless, which proved problematic in terms of succession. James II of Aragon claimed that the crown should revert to him if Sancho were to die leaving no legitimate issue, but Sancho himself was eager to prevent that. The elder of his two brothers, Ferdinand, had predeceased him; the younger,
Philip, had also chosen an ecclesiastical career. Ferdinand, however, had left two sons,
James and
Ferdinand, and in 1322 Sancho devised a will detailing the line of succession: should Sancho have no legitimate children, the crown was to pass to James, then to the younger Ferdinand, and only if both boys were to die childless to the King of Aragon. He then proceeded to prepare the realm for his underage nephew's accession by establishing a regency council consisting of six people, three from the Kingdom of Majorca and three from the counties of Roussillon and Cerdagne. In the summer of 1324, the asthmatic Sancho sought to escape the heat of his kingdom by spending the season in
Formiguères. The precaution was futile, however. He died of an asthma attack on 4 September 1324. His nephew, James III, succeeded him. The arrival of Sancho's funeral procession on 11 September caused a tumult in Perpignan, with the townspeople attacking the nobles who accompanied his corpse and seizing the King's remains. The remains are now interred in the newly built Cathedral of Perpignan, which Sancho himself had chosen for his burial. ==Family tree==