During the English Civil War, Somerset was largely Parliamentarian, although Dunster was a Royalist stronghold. The county was the site of important battles between the Royalists and the Parliamentarians, notably the Battle of Lansdowne in 1643 and the Battle of Langport in 1645. The castle changed hands several times during 1642–45 along with the town. During the Siege of Taunton it was defended by Robert Blake, from July 1644 to July 1645. This war resulted in castles being destroyed to prevent their re-use.