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
History of Scots law II in 1371, was defined by the growing authority and power of the Scottish Kings and development of existing legal institutions. In 1469, the Parliament of Scotland affirmed the ultimate authority of King James III and rejected the authority of imperial notaries in Scottish civil matters. The recognition of the sovereign authority of the Scottish Kings was connected to the influence of the "ius commune" in Scots law. For example, the Pragmatic Sanction of Bourges of 1438 was an attempt to limit papal authority in France and recognise the sovereign authority of King Charles VII of France. Various customary laws,