The castle was built in the 13th century by the ancestors of Clan Murray . It was built to guard a strategic crossing point of the Clyde . Construction of the castle was begun in the 13th century by the ancestors of Clan Murray , to guard a strategic crossing point of the Clyde .