It was built in the 14th century by King David II of Scotland .
It was sold to his cousin Robert Bruce in 1359 .
It was built in the 14th century by King David II of Scotland and sold to his cousin Robert Bruce in 1359 .