Several emirates led by people of Yemeni descent were established in North Africa and Andalusia. Effective control over entire Yemen was not achieved by the Umayyad Caliphate. Imam Abdullah ibn Yahya Al-Kindi was elected in 745 CE to lead the Ibāḍī movement in Hadramawt and Oman. He expelled the Umayyad governor from Sana'a and captured Mecca and Medina in 746. Al-Kindi, known by his nickname "Talib al-Haqq" (seeker of truth), established the first Ibadi state in the history of Islam but was killed in Taif around 749.