Yusef I Ibn Tashfin, member of the Almoravides dynasty, founded the city in 1062.
Marrakech is served by Menara International Airport. Prior to the reign of Moulay Ismail the Bloodthirsty, Marrakech was the capital of Morocco. After his reign, his grandson moved the capital back to Marrakech from Meknes.