Barnard Castle is a historic thriving market town. The Castle itself is set on a high rock above the River Tees and was the stronghold of the Balliol family. Taking its name from Bernard de Balliol, who rebuilt it in the 12th century, it includes a fine great hall and a dominating round-towered keep. Unsuccessfully besieged by the Scots in 1216, it was confiscated when John de Balliol, briefly King of Scotland, was deposed by Edward I. It last saw action during the Northern Rising against Queen Elizabeth in 1569, surrendering to 5,000 rebels, and was partly dismantled in 1630 to furnish materials for Sir Henry Vane's new Raby Castle. The castle is in the care of English Heritage now and is open to the public.