Although archaeological evidence suggests that an earlier fortress existed on the site during the 13th century, possibly damaged during the Wars of Scottish Independence, the present structure represents one of the most complete surviving examples of late medieval courtyard castle architecture in Britain.

