 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 ended the First War of Scottish Independence, was signed by Robert I in the "King's Chamber" at Holyrood in March 1328.