Abdul Rahman III ordered the building of this solid castle in the mid-10th century.
It was practically destroyed during the Cristian reconquest and rebuilt centuries later. Currently, after restoration, its different rooms are used for cultural events.