Holyrood Palace council of nobles met to discuss a ransom for the captive king, William the Lion. Robert the Bruce held a parliament at the abbey in 1326, and by 1329 it may already have been in use as a royal residence. In 1370, David II became the first of several Kings of Scots to be buried at Holyrood. Not only was James II born at Holyrood in 1430, it was at Holyrood that he was crowned, married and laid to rest. James III and Margaret of Denmark were married at Holyrood in 1469. The early royal residence was in the abbey
Petershausen Abbey at its own expenses. A panorama of the fortified abbey can be seen in Matthäus Merian's engraving showing Constance and Petershausen during the siege of 1633. A slow recovery of the abbey began after the end of this destructive war. Petershausen was finally secularised to Baden in 1802; the library was bought by the University Library Heidelberg. Margrave Charles Frederick of Baden had parts of the abbey rebuilt as a private residence for his sons. The St Gregory Church was demolished in 1832. The remaining premises were later used as a psychiatric hospital and as barracks. They now accommodate a