The Caliphate City of Medina Azahara is a city built in the mid-tenth century CE by the Umayyad dynasty as the seat of the Caliphate of Cordoba.