Marrakesh Marrakesh Marrakesh ( or ; "Murrākuš"; "Meṛṛakec"), also known by the French spelling Marrakech, is a major city of the Kingdom of Morocco. It is the fourth largest city in the country, after Casablanca, Fez and Tangier. It is the capital city of the mid-southwestern region of Marrakesh-Safi. Located to the north of the foothills of the snow-capped Atlas Mountains, Marrakesh is situated southwest of Tangier, southwest of the Moroccan capital of Rabat, south of Casablanca, and northeast of Agadir. Marrakesh is possibly the most important of Morocco's four former imperial cities. The region has been inhabited by Berber farmers
Tangier 927, Ceuta in 931, and Tangier in 949. Tangier's governor was subsequently named chief over Cordova's Moroccan possessions and allies. Ali ibn Hammud, named Cordova's governor for Ceuta in 1013, took advantage of the realm's civil wars to conquer Tangier and Malaga before overrunning Cordova itself and proclaiming himself caliph in 1016. His Barghawata ally Rizḳ Allāh was then permitted to rule from Tangier with general autonomy. Yusuf ibn Tashfin captured Tangier for the Almoravids in 1077. It fell to Abd al-Mumin's Almohads in the 1147 and then flourished under his dynasty, with its port highly active. Like Ceuta, Tangier