other political entities The Imperial Cities of Morocco are the four historical capital cities of Morocco: Fez, Marrakesh, Meknes and Rabat.
Founded by Idris I between 789 and 808, the town of Fez was the capital city several times: Marrakesh is considered a symbol of Morocco and the power of the Almoravid and Almohad dynasties.
He rebuilt and expanded its old kasbah into a new monumental palace-city to the south of the old city.
Rabat was founded by the Almohad caliph Yaqub al-Mansur with the aim of serving as his capital, but the project was abandoned after he died and Marrakesh remained the capital city.
In the 18th century, Rabat was designated an imperial city by the Alawi sultan Muhammad ibn Abdallah, who built the Dar al-Makhzen, although he did not designate any city as his capital, moving continually between Rabat, Fez and Marrakech.