It was built in the 10th century during the Caliphate of Abd-ar-Rahman III Castles Links: en.wikipedia.org By: Mike1989