In 750, the Abbasid Revolution overthrew the Umayyad caliphate in Damascus. An Umayyad prince, Abd ar-Rahman I, escaped to al-Andalus and set up the independent Emirate of Cordoba.