Holyrood Abbey abbey's position close to Edinburgh Castle meant that it was often visited by Scotland's kings, who were lodged in the guest house situated to the west of the abbey cloister. In the mid-15th century, with the emergence of Edinburgh as the main seat of the royal court and the chief city in the kingdom, the Kings of Scots increasingly used the accommodation at Holyrood for secular purposes. James II and his twin brother Alexander, Duke of Rothesay, were born there in October 1430. James was also crowned at Holyrood in 1437 and building works were carried out before his marriage
Charles IV, Duke of Anjou also used the title of Duke of Calabria, in token of the claims to Naples he inherited from René. In 1474 he married Joan of Lorraine (1458 – 25 January 1480), daughter of Frederick II of Vaudémont, but they had no children. He died on 10 December 1481. He willed his inheritance to his cousin Louis XI of France, whose heirs thus obtained a claim to the affairs of Italy, pursued in the next decades. Charles IV, Duke of Anjou Charles IV, Duke of Anjou, also Charles of Maine, Count of Le Maine and Guise (1446 – 10 December 1481)