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
Philip II, Duke of Brunswick-Grubenhagen Philip I's death in 1551, he was first succeeded in government by his eldest son Ernest III. After Ernest's death in 1567, his brother Wolfgang succeeded. When he too died without male descendants in 1595, Philip II succeeded. Duke Philip II was married to his cousin Clara of Brunswick-Wolfenbüttel (1532–1595), designated Abbess of Gandersheim, who had renounced her ecclesiastical office after the abbey had been occupied by Schmalkaldic troops in the course of the Protestant Reformation and plundered afterwards. The couple took residence at the secularised monastery of Katlenburg, which Philip II had rebuilt in a Renaissance style. In 1595