Holyrood Abbey - Wikipedia
Holyrood Abbey is a ruined abbey in Edinburgh, Scotland. The abbey was founded in 1128 by King David I of Scotland. During the 15th century, the abbey guesthouse was developed into a royal residence, and after the Scottish Reformation the Palace of Holyroodhouse was expanded further. The abbey church was used as a parish church until the 17th century, and has been ruined since the 18th century.
Holyrood Palace, official Scottish home of the Queen. Between 1501 and 1505, James IV constructed a new Gothic palace adjacent to the abbey. The impetus for the work probably came from the marriage of James IV to Margaret Tudor, which took place in the abbey in August 1503 while work was still ongoing.[1] The palace was built around a quadrangle, situated west of the abbey cloister. It contained a chapel, gallery, royal apartments, and a great hall.