穆拉比特王朝
In 1092, the castle fell into the occupation of the Almoravid dynasty who were expelled in an uprising that took place in 1145. During this uprising, the castle was besieged by the Governor of Valencia, Marwan Abd-al-Aziz. In 1171, the Castle finally fell, along with the rest of the Levante coast, into the hands of the Almohads.