Royalists controlled Pontefract Castle at the start of the English Civil War. The first of three sieges began in December 1644 and continued until the following March when Marmaduke Langdale, 1st Baron Langdale of Holme arrived with Royalist reinforcements and the Parliamentarian army retreated. During the siege, mining and artillery caused damage and the Piper Tower collapsed as a result. The second siege began on 21 March 1645, shortly after the end of the first siege, and the garrison surrendered in July after hearing the news of Charles I's defeat at the Battle of Naseby. Parliament garrisoned the castle until June 1648 when Royalists sneaked into the castle and took control. Pontefract Castle was an important base for the Royalists, and raiding parties harried Parliamentarians in the area.