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
Abbey of Saint-Médard de Soissons king himself assisted in carrying the body of Saint Medard into the new church. In 833 Louis the Pious was imprisoned and underwent a public penance here. In 1131 Pope Innocent II reconsecrated the rebuilt church and granted those visiting it indulgences known as "Saint Medard's pardons". The wealth of the abbey was immense. In the 12th century the community owned about two hundred and twenty fiefs. The abbey also minted coins. Its wealth remained into the 16th century but the Wars of Religion ruined it, and although it was restored in 1637, it never regained its former stature. The