The Castle has an illustrious history and many well-known figures from Scottish and British history have visited it. The castle was a royal fortress long before Dumbarton became a Royal Burgh; its ownership went from Scottish to English and back again. The castle was an important place during the Wars of Independence and was used to imprison William Wallace for a short time after his capture by the English. It was from here that Mary, Queen of Scots, was conveyed to France for safety as a child. Mary was trying to reach Dumbarton Castle when she suffered her final defeat at Langside. In later times, Queen Victoria and Queen Elizabeth II visited the castle.