Holyrood Abbey of Holyrood during the four centuries of its existence as a religious house were Kings David I and II; Robert, Bishop of St. Andrews; and Fergus, Lord of Galloway. The Parliament of Scotland met at the abbey in 1256, 1285, 1327, 1366, 1384, 1389 and 1410. In 1326 Robert the Bruce held parliament here and there is evidence that Holyrood was being used as a royal residence by 1329. The Treaty of Edinburgh–Northampton (1328), which brought an end to the First War of Scottish Independence, was signed by Robert I in the "King's Chamber" at Holyrood in March 1328. The
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,