الدولة الأموية في الأندلس
The medieval castle overshadowing the Guadalest valley was originally built in the 11th century, during the Muslim rule over the Iberian Peninsula. It served to control the valley, as infighting between the smaller kingdoms left by the disintegration of the Caliphate of Córdoba was constant.