Roxburgh Castle, then known as Marchidun, is first recorded as the residence of the Earl of Northumberland in 1107. After David I renamed it, it became a residence for Scottish Kings over the next two hundred years.
Within its walls, kings were born and kings were married, and outside its walls, kings died. It was a massive fortress with four towers and at least one church within its walls. With the Wars of Independence, it became an important site. In 1296 it was captured by Edward I. It changed hands frequently, thereafter, until 1460, when it remained in English hands for 100 years.
From 1124 until it was finally destroyed in 1550, it had been continuously occupied by either one side or the other.