Erected in the 16th century, Edinburgh's Holyrood Palace is the official residence of the British monarch in Scotland. It sits across from Edinburgh Castle. The extensive gardens and the historic apartments occupied by Mary, Queen of Scots, are open to the public for most of the year.