About the neighborhood
District in Marrakesh
The Kasbah of Marrakesh is a large walled district in the southern part of the medina of Marrakesh, Morocco, which historically served as the citadel (kasbah) and royal palace complex of the city. A large part of the district is still occupied by the official royal palace, the Dar al-Makhzen, which serves as the residence of the King of Morocco when he visits the city. The rest of the district consists of various neighbourhoods and monuments. It was founded by the Almohads in the late 12th century, with most of the construction carried out by Caliph Ya'qub al-Mansur (r. 1184–1199). Two of its most important surviving structures today, the Kasbah Mosque and the main gate of Bab Agnaou, date from al-Mansur's reign.
The palace complex was neglected after the fall of the Almohads, but the Kasbah was restored and rebuilt by the Saadian dynasty in the 16th century, during the time of sultans Abdallah al-Ghalib and Ahmad al-Mansur, who created new palaces and extensive gardens. The Saadian Tombs and the ruins of the El Badi Palace date from this period. Abdallah al-Ghalib was also responsible for the creation of a Jewish quarter, the Mellah, adjoined to the Kasbah's eastern flank. Following another period of neglect and pillage, the palaces were rebuilt and redeveloped by the 'Alawi sultan Muhammad ibn Abdallah who gave the Royal Palace (Dar al-Makhzen) and its surroundings much of their present form.
Today the kasbah is no longer a restricted district, apart from the royal palace, and is a popular tourist attraction in the city.
History
The Almohad kasbah
The first citadel and royal residence of Marrakesh was the fortress and residence known as the Ksar el-Hajjar, built by the Almoravid leader Abu Bakr ibn Umar when he founded the city in 1070. This fortress was located north of the current Kutubiyya Mosque. The later Almoravid emir Ali ibn Yusuf (ruled 1106–1143) attached a palace to the south, on the site of what is now the mosque. Remains of these Almoravid structures have been excavated and the remains of a stone gate called Bab 'Ali, belonging to Ali's palace, are visible today alongside the ruins of the first Kutubiyya Mosque.
When the Almohad ruler Abd al-Mu'min conquered Marrakesh in 1147, he reportedly destroyed many Almoravid monuments (especially mosques). However the new Almohad rulers for a time used the Ksar el-Hajjar and the palace of Ali ibn Yusuf as their official residence. According to Ibn Idhari, in 1183 the Almohad ruler Abu Ya'qub Yusuf ordered the construction of a new extension to the city following complaints of overpopulation inside the old city. The project was entrusted to his son Ya'qub al-Mansur, and since Abu Ya'qub Yusuf died soon after in 1184 it was he who was responsible for most of its construction during his subsequent reign (1184–1199). However, some scholars attribute the Kasbah's foundation entirely to Ya'qub al-Mansur in 1185 and estimate that it was completed circa 1190. This ambitious construction project created a vast new royal district attached to the south side of the city. The new citadel and extension of the city was known in historical sources as the Kasbah (or Qasaba), as well as Tamurakusht and as-Saliḥa. It was built over the site of an Almoravid garden estate known as as-Saliḥa. Only the eastern portion of this garden remained afterward, later replaced by the present-day Mellah. The construction of the kasbah was motivated in part by the rapid growth of the city's population and an urgent need for more space within the city. It may also have been motivated by the Almohad caliph's desire to follow the example of other powerful Islamic rulers who built separate palace-cities from which to rule, such as the Umayyad construction of Madinat al-Zahra near Cordoba or the Abbasid construction of Samarra in Iraq. Construction of the Marrakesh kasbah began in 1185 and finished by 1190, though al-Mansur's successors continued to build more palaces within it, totaling twelve by the end of the Almohad period.
The Almohad kasbah was a vast self-contained district surrounded by ramparts and further subdivided by inner walls. It included not only the royal palace (known as the Dar al-Khalifa or Qasr al-Khilafa), but also the congregational mosque (the Kasbah Mosque), markets and qaysariyya (bazaar), bathhouses (hammams), warehouses, stables, cemeteries, gardens, and squares. A "madrasa" stood next to main square near the palace, though the Almohad madrasa was most likely not the same type of institution as the madrasas introduced to Morocco under the Marinid dynasty in the later 13th century. It provided education for the ruler's children and family members. The expansion of the city also included the founding of a hospital (maristan), the location of which is unclear.
The main public entrance to the kasbah was the Bab Agnaou, a gate located in the kasbah's northwestern corner and accessed from inside the city walls. Despite some modifications, it is well-preserved today and features extensive stone-carved decoration. Another gate, the Bab as-Sadat, allowed direct entrance into the kasbah from outside the city walls but was reserved for high officials and members of the royal dynasty. The Almohads also built vast pleasure gardens around the kasbah, such as the Agdal Gardens to the south which were surrounded by walls. A gate known as the Bab al-Bustan allowed direct access between the caliph's palace and the gardens.
The kasbah was divided into three parts by inner walls which each had its own gate. The largest section was the caliph's palaces, known as ar-Riyad, covering about 24 hectares (59 acres) and occupying the entire eastern side of the kasbah. The second division was in the southwest corner, taking up about 12 hectares (30 acres) and containing the various services required by the palace and government. Notably, this district was centered around a large square or plaza known as the asaraq and which was the early equivalent of a mechouar. From this square, a gate known as Bab ar-Riyad led to the caliph's palaces. Next to this gate was an audience pavilion, known as Qubbat al-Khilafa, which allowed the caliph to observe ceremonies taking place in front of the gate. The third section, more publicly accessible, occupied 8 hectares (20 acres) in the northwestern corner of the kasbah and contained the Kasbah Mosque and its annexes. Another public square, also known as the asaraq, existed in front of the mosque. This northwestern asaraq was smaller than the one in the southwestern division of the kasbah. A main street ran in a straight line from north to south connecting these two squares. The street was once lined with porticos and was accessed at either end by two gates known as the Bab at-Tubul (to the north) and the Bab as-Saqa'if (to the south).
Aside from the mosque and the main gate, Bab Agnaou, almost none of the Almohad structures have survived intact. The current western and southern outline of the kasbah, including its walls, probably date to the Almohad construction, but many other ramparts and gates have been changed since. The main street that ran between the two asaraq squares is evident today but the southern asaraq square has disappeared.
Saadian period
Marrakesh fell into decline with the demise of the Almohad regime. Their successors, the Marinid dynasty, made Fes their capital and carried out few major constructions in Marrakesh. It wasn't until the Saadian Dynasty (16th to early 17th centuries) established Marrakesh as their capital that the city saw a resurgence. The Saadians established themselves in the old Almohad kasbah and undertook their own renovations and reconstructions. Sultan Moulay Abdallah al-Ghalib constructed new palaces and annexes in the northern part of the kasbah and repaired the Kasbah Mosque after it was damaged in a gunpowder explosion in the 1560s or 1570s. He built the first structures of the Saadian Tombs on the south side of the mosque. He also transferred the Jewish population of the city to a new Mellah on the east side of the Royal Palace, which expanded the eastern outline of the kasbah.
Sultan Ahmad al-Mansur, who oversaw the apogee of Saadian power, undertook another series of constructions and renovations. He built the most elaborate mausoleums in the Saadian Tombs. Most famously, he constructed an extravagant palace known as El Badi. The palace was used for the reception of ambassadors and other guests. It was designed as a showcase of al-Mansur's power and wealth, making use of the most lavish materials and decoration including Italian marble.
The Saadian palace complex of this period was entered via a "Grand Mechouar": a large ceremonial square or courtyard on the site of the former southern asaraq square, to the south of the Kasbah Mosque. The square measured about 180 by 90 metres (590 by 300ft). The main gate of the royal palace was situated there and led to a smaller mechouar. From the smaller mechouar a long passage ran east to give access to the palace's various components. On the south side of this passage were located most of the service annexes of the palace, including kitchens, warehouses, the treasury, and stables. On the north side of the passage was the vast reception palace (the El Badi Palace), along with the private quarters of the sultan and his family, their bathhouses (hammams), a private mosque, and the mint. Beyond these structures and further east, were a number of pleasure gardens which occupied the whole eastern side of the kasbah. These included the Crystal Garden (az-zujaj), the garden known as al-Mustaha ("the Desired"), and the Qasr Garden or inner garden. The Crystal Garden, located on the east side of the Badi Palace, was for private use by the palace residents. The al-Mustaha garden, to the south, was reportedly open to the public. It included a large water basin which was used for bathing during the summer. The Qasr Garden was located south of El Badi Palace and next to Ahmad al-Mansur's private apartments. Ahmad al-Mansur also renovated the vast Agdal Gardens to the south of the kasbah. Lastly, sources from this period also describe and illustrate a tall tower rising from the center of the palaces and visible from afar. This tower is of uncertain origin and disappeared during the 'Alawi era, but may have been an observation tower built for the enjoyment of the sultan.
An illustration of the Kasbah of Marrakech by Adriaen Matham, from 1640 (at the end of the Saadian period). Seen here from the east, the image shows the ramparts as well as a tall tower that once stood in the palace. 'Alawi period to present
After the decline of the Saadian dynasty, the kasbah was severely neglected again, as the 'Alawi dynasty that succeeded them rarely used Marrakesh as their capital. Moulay Isma'il notably plundered the Saadian palaces for materials (such as marble) to use in his own palace and kasbah that he was building in Meknes. The Badi Palace became a ruin, though the Saadian Tombs were used as a necropolis for some members of the 'Alawi royal family. The main exception to this neglect was the reign of Muhammad ibn Abdallah, who ruled Marrakesh as governor for his father from 1746 and then used it as his unofficial capital when he was sultan between 1757 and 1790.
Muhammad Ibn Abdallah undertook a large number of renovations and constructed new palaces. He also built a new mosque, the Barrima Mosque, on the eastern perimeter of the palaces. A state prison was created within the grounds and annexes of the old Badi Palace, immediately adjacent to Muhammad's new palace. The current structures and gardens of the royal palace date mainly from this period (at least in terms of their overall layout). During this process Muhammad also expanded or developed the kasbah on its south side, creating a number of new mechouars (walled squares) as part of the approach to the royal palace, whose entrance was now reoriented to the south instead of the west. Construction on the main part of Muhammad's new palace was begun in 1747, when he was still viceroy under his father Abdallah. This construction included the creation of the large Arsat an-Nil garden and its surroundings. According to historian Gaston Deverdun, the palace sections on the north side of this garden were probably first finished in 1753–54 but were rebuilt or remodeled between 1760 and 1765, when Muhammad was sultan. The southern sections of the palace were probably finished before 1760. The palace as a whole, including some of the outlying structures around the mechouars, were finished in the 1760s. Nonetheless, there is evidence that Muhammad continued to carry out works later in his reign and that he enlisted European craftsmen (particularly from Spain) for many of its elements.
Up to the late 19th century and early 20th century the kasbah was still the center of power in Marrakesh. Wealthy government ministers built their own palaces and mansions near it during this period. The most famous of these is Bahia Palace, later turned into a royal palace. The Agdal Gardens were also maintained and were replanted in the 19th century, with new royal pavilions constructed within them and new fortifications constructed on their west side.
The Kasbah today
Overview
Today the kasbah is no longer a restricted district and much of it is accessible to the public. It is located on the south side of the main medina. Its western sections are filled with residential neighborhoods. Most of its eastern section continues to be used as the Royal Palace (Dar al-Makhzen) for the King of Morocco, which is off-limits to the public. To the north of the palace are the remains of the monumental El Badi Palace, which are now a historic site accessible to tourists.
In the northwest area of the kasbah is the citadel's original congregational mosque, the Kasbah Mosque (a.k.a. the Mansuriyya Mosque and the Mosque of Moulay al-Yazid), which is active today and accessible to Muslims. Just west of the mosque, at the junction between the walls of the medina and the walls of the kasbah, is the former main gate of the kasbah, Bab Agnaou. Near the kasbah, past Place des Ferblantiers to the north, is the Bahia Palace.
Between the mosque to the west and the El Badi and Dar al-Makhzen palaces to the east is an area that was once part of the royal palace or its annexes but today is occupied by residential neighborhoods. The shape and outline of certain neighborhood streets follow former palace walls or other structures no longer extant. The main street of the kasbah (Rue de la Kasbah), running roughly north–south between the mosque and the Derb Chtouka neighbourhood, corresponds to the original avenue that linked the two asaraq squares in the Almohad period.
Encyclopedic content adapted from the Wikipedia article on Kasbah, used under CC BY-SA 4.0.





