Marrakesh or Marrakech (/məˈrækɛʃ/ or /ˌmærəˈkɛʃ/;[3] Arabic: مراكش, romanized: murrākuš, .mw-parser-output .IPA-label-small{font-size:85%}.mw-parser-output .references .IPA-label-small,.mw-parser-output .infobox .IPA-label-small,.mw-parser-output .navbox .IPA-label-small{font-size:100%}pronounced [murraːkuʃ]) is the fourth-largest city in Morocco.[2] It is one of the four imperial cities of Morocco and is the capital of the Marrakesh–Safi region. The city lies west of the foothills of the Atlas Mountains. The city was founded circa 1070 by Abu Bakr ibn Umar as the capital of the Almoravid dynasty. The Almoravids established the first major structures in the city and shaped its layout for centuries to come. The red walls of the city, built by Ali ibn Yusuf in 1122–1123, and various buildings constructed in red sandstone afterwards, have given the city the nickname of the "Red City" or "Ochre City". Marrakesh grew rapidly and established itself as a cultural, religious, and trading center for the Maghreb. After a period of decline, Marrakesh regained its status in the early 16th century as the capital of the Saadian dynasty. Beginning in the 17th century, the city became popular among Sufi pilgrims for its seven patron saints who are buried here. In 1912, the French Protectorate in Morocco was established and T'hami El Glaoui became Pasha of Marrakesh and generally held this position until the independence of Morocco and the reestablishment of the monarchy in 1956. Marrakesh comprises an old fortified city packed with vendors and their stalls. This medina quarter is a UNESCO World Heritage Site and contains the Jemaa el-Fnaa square, a large number of souks (markets), the Kutubiyya Mosque, and many other historic and cultural sites. The city serves as a major economic center and tourist destination. Real estate and hotel development in Marrakesh have grown dramatically in the 21st century. Marrakesh is particularly popular with the French, and numerous French celebrities own property in the city.