There has been a royal castle on the rock since at least the reign of David I in the 12th century, and the site continued to be a royal residence until 1633.
Der har eksisteret et kongeligt slot på klippen siden David 1.s regeringstid i 1100-tallet, og det var et kongeligt residensslot frem til 1633.