Al-Walid I
The rulers of Al-Andalus were granted the rank of Emir by the Umayyad Caliph Al-Walid I in Damascus. After the Abbasids came to power in the Middle East, some Umayyads fled to Muslim Spain to establish themselves there.