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.
History of Morocco Abbasid successors managed to re-impose their rule on the areas west of Ifriqiya. Morocco passed out of Umayyad and Abbasid control, and fragmented into a collection of small, independent Berber states such as Berghwata, Sijilmassa and Nekor, in addition to Tlemcen and Tahert in what is now western Algeria. The Berbers went on to shape their own version of Islam. Some, like the Banu Ifran, retained their connection with radical puritan Islamic sects, while others, like the Berghwata, constructed a new syncretic faith. The Barghawatas were a confederation of Berber groups inhabiting the Atlantic coast of Morocco, who belonged to