The Palace of Holyroodhouse, commonly referred to as Holyrood Palace, is the official residence of the Monarch of the United Kingdom in Scotland. Located at the bottom of the Royal Mile in Edinburgh, at the opposite end to Edinburgh Castle, Holyrood Palace has served as the principal residence of the Kings and Queens of Scots since the 16th century, and is a setting for state occasions and official entertaining.
Holyrood Abbey was founded by David I, King of Scots, in 1128, and the abbey's position close to Edinburgh Castle meant that it was often visited by Scotland's monarchs, who were lodged in the guest house situated to the west of the abbey cloister. James IV constructed a new palace adjacent to the abbey in the early 16th century, and James V made additions to the palace, including the present north-west tower. Holyrood Palace was re-constructed in its present form between 1671 and 1679 to the Baroque design of the architect Sir William Bruce, forming four wings around a central courtyard, with a west front linking the 16th-century north-west tower with a matching south-west tower. The Queen's Gallery was built adjacent to the palace and opened to the public in 2002 to exhibit works of art from the Royal Collection.