The foundation of the city of Marrakech dates back to 1062 when the Sultan Yusuf ibn Tashfin decided to make the city a camp of his armies. He built several mosques and buildings, planted the palm grove and built defensive walls around the city. Marrakech thus became the capital of the powerful empire of the Almoravids.
Marrakech was renovated and improved under the Almohads who succeeded the Almoravids. Thus was built the Koutoubia mosque, the minaret whose height reaches 77m and khettara (irrigation system). After the Almohad, are the Mérinides who took control of the kingdom, they chose Fez and Marrakech as the capital experienced an unprecedented decline!
It was not until the arrival of the Saadian that the city regained its prestige and scope. Some of the most beautiful monuments of Marrakech date from this period: the Saadian Tombs, the El Badi Palace and several fountains of the medina. The progress of the city has grown during the reign of Alawites who restored the walls and the Kasbah and built many buildings, including the famous Bahia Palace.
The French came to Morocco in 1917 and entrusted the leadership of the kingdom at Pacha Glaoui who became rich and influential. It is at that time that were built in rail and road infrastructure, hydropower plants, irrigation systems and developed the first modern district of Marrakech Gueliz. The Morocco became independent in 1956 and the Alawites reigned again.
Marrakech, pronounced Mraksch was the name of the entire country. The Portuguese arrived not pronounce this name and distorted in Marrocos, Moroco, and finally Marueco Morocco.