Alfonso IV, called the Kind (also the Gentle or the Nice, ) (2 November 1299 – 24 January 1336) was King of Aragon and Count of Barcelona (as Alfons III) from 1327 to his death. His reign saw the incorporation of the County of Urgell, Duchy of Athens, and Duchy of Neopatria into the Crown of Aragon. Biography Alfonso was born in Naples, the second son of James II and Blanche of Anjou. In 1314, aged 14, he married Teresa d'Entença y Cabrera, heiress of Urgell, who was the same age as him. Teresa's granduncle Ermengol X of Urgell had died childless in La Llitera; before his death, he had agreed to make Alfonso his heir, on condition that Alfonso would marry Teresa, who was his nearest kin. Alfonso was at this time only the second son (and not the heir) of the king of Aragon. He and his father readily agreed to Ermengol's condition, and Alfonso married Teresa in 1314 in the Cathedral of Lerida. The teenage bridegroom is reputed to have been so liberal in the expenses during the wedding, that the local counsels imposed restrictions on how much he could spend. Alfonso and Teresa became the parents of seven children. Alfonso became heir to the throne in December 1319 after his older brother James renounced his rights to become a monk. During the reign of his father, Alfonso was the procurator-general of the Crown, and in 1323–1324, he undertook the conquest of Sardinia. Alfonso's father and first wife Teresa died within a few days of each other in 1327. Teresa died in childbirth on 20 October 1327, and James II died on 2 November 1327, whereupon Alfonso became king. In 1329, he began a long war with the Republic of Genoa. The city of Sassari had previously surrendered to Alfonso in 1323, but rebelled three more times; its possession was contested by Genoa, which led to the protracted war. In February 1329, Alfonso married Eleanor of Castile (1308–1359), the sister of king Alfonso XI of Castile. Eleanor had been briefly married to Alfonso's elder brother James the monk. That marriage, which James had refused to consummate, had been annulled in 1319–20. Eleanor had thereafter retired to a convent (although she never took the veil) and had remained unmarried. By December the same year, the couple were rejoiced to become the parents of a son, Ferdinand, who was