Imperial cities of Morocco his capital. Founded by the Almohad caliph Yaqub al-Mansur with the aim to make it his capital, the project was abandoned after he died and Marrakech remained the capital city. In the 18th century, Rabat was designated as an Imperial city by the Alaouite sultan Muhammad ibn Abdallah, who built the Dar al-Makhzan palace, although he did not designate any city as his capital, moving continually between Rabat, Fez and Marrakech. Imperial cities of Morocco The imperial cities of Morocco are the four historical capital cities of Morocco: Fez, Marrakesh, Meknes and Rabat. Rabat is the current capital of Morocco.
Morocco to Morocco after the Abbasids' massacre of his tribe in Iraq. He convinced the Awraba Berber tribes to break their allegiance to the distant Abbasid caliphs in Baghdad and he founded the Idrisid dynasty in 788. The Idrisids established Fes as their capital and Morocco became a centre of Muslim learning and a major regional power. The Idrissids were ousted in 927 by the Fatimid Caliphate and their Miknasa allies. After Miknasa broke off relations with the Fatimids in 932, they were removed from power by the Maghrawa of Sijilmasa in 980. From the 11th century onwards, a series of