In 1260 AD, the Mongols destroyed sections of the castle, including its battlements. Soon after the victory of the Mamluks over the Mongols at Ain Jalut, Sultan ad-Dhaher Baibars restored the castle and cleared the fosse. The castle was used as a storehouse for crops and provisions. When Izz ad-Din Aibak was appointed governor, he renovated the castle as indicated by an inscription found in the castle's south-western tower.