 William Brewer died in 1226 and his son, also called William, died in 1232; after his death, the castle passed to the king the following year, after which it was used as a store and prison.In 1242 repairs were ordered to its keep and some turrets and in 1246 to the towers.In 1248 ownership passed to Maud de Braose, Baroness Mortimer the wife of Roger Mortimer, 1st Baron Mortimer, and the castle was involved in the Second Barons' War.