After the first four caliphs, the Caliphate was claimed by dynasties such as the Umayyads, the Abbasids, and the Ottomans, and for relatively short periods by other, competing dynasties in al-Andalus, North Africa, and Egypt. Mustafa Kemal Atatürk officially abolished the last Caliphate, the Ottoman Empire, and founded the Republic of Turkey, in 1924. The Kings of Morocco still label themselves with the title Amir al-Mu'minin for the Moroccans, but lay no claim to the Caliphate.