James' successor, King Charles I, visited Edinburgh Castle only once, hosting a feast in the Great Hall and staying the night before his Scottish coronation in 1633. This was the last occasion that a reigning monarch resided in the castle. In 1639, in response to Charles' attempts to impose Episcopacy on the Scottish Church, civil war broke out between the King's forces and the Presbyterian Covenanters. The Covenanters, led by Alexander Leslie, captured Edinburgh Castle after a short siege, although it was restored to Charles after the Peace of Berwick in June the same year. The peace was short-lived, however, and the following year the Covenanters took the castle again, this time after a three-month siege, during which the garrison ran out of supplies. The Spur was badly damaged, and was demolished in the 1640s. The Royalist commander James Graham, 1st Marquis of Montrose was imprisoned here after his capture in 1650.