In 1217, Henry III's government decided to break the power of the Beauchamps and reduce the ongoing military threat posed by the castle by returning much of the castle's bailey to the cathedral. Without an intact bailey the castle was no longer valuable militarily, although it played a small part in the Second Barons' War in the 1260s. A gaol had been built in the castle by the early 13th century and the castle continued to be used as Worcestershire's county gaol until the 19th century, when a new prison was built on the north side of Worcester and the old site completely redeveloped. Today nothing remains of Worcester Castle with the exception of Edgar's Tower, a cathedral gatehouse built on the former entrance to the castle.