The second quarter of the 14th century saw crucial changes for Catalonia, marked by a succession of natural catastrophes, demographic crises, stagnation and decline in the Catalan economy, and the rise of social tensions. In 1333, known as "Lo mal any primer" ("The first bad year"), a severe famine affected the lands of the Crown. Between 1347 and 1497 the Principality of Catalonia lost 37 percent of its population. The reign of Peter the Ceremonious was a time of war: the annexation of Majorca, the quelling of a rebellion in Sardinia, a rebellion by an Aragonese faction who wished to extinguish local Catalan privileges in favor of a more centralized kingdom of Aragon, and an Aragonese-Castilian war. These wars created a delicate financial situation, in a framework of demographic and economic crisis, to which was added a generation later a crisis of succession generated by the death in 1410 of Martin I without a descendant or a named successor. A two-year interregnum progressively evolved in favor of a candidate from the Castilian Trastámara dynasty, Ferdinand of Antequera, who after the Compromise of Caspe (1412), was named Ferdinand I of Aragon.