During the Civil War Oliver Cromwell's troops under General Monck burned the castle down in 1654. Repaired, it was held for King James VII of Scotland from 1688 until its surrender to the Government forces of William and Mary in 1692. It was then held by the Jacobites during the 1715 uprising, but taken for the government in 1716. During the 1745 uprising it was again held by Jacobites and visited twice by Bonnie Prince Charlie.