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
Château de Blandy-les-Tours and structures of defence: a moat was dug and a new gate-tower with a drawbridge was included in the enclosing wall. The kings Charles V (1364 - 1380) and Charles VI (1380 - 1422) financed the transformation into a castle for the successive owners of the castle, the counts de Tancarville Jean II and his grandson Guillaume IV. A high keep, defended by two drawbridges, was built. The curtain wall was modified by the addition of new towers. All these modifications took place during the Hundred Years' War. However, the castle of Blandy-les-Tours was rebuilt in the 16th century by