Kasbah Of Marrakesh
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 300 ft). 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.