Abdallah al-Ghalib
The Kasbah Mosque overlooks Place Moulay Yazid in the Kasbah district of Marrakesh, close to the El Badi Palace. It was built by the Almohad caliph Yaqub al-Mansour in the late 12th century to serve as the main mosque of the kasbah (citadel) where he and his high officials resided. It contended with the Koutoubia Mosque for prestige and the decoration of its minaret was highly influential in subsequent Moroccan architecture. The mosque was repaired by the Saadi sultan Moulay Abdallah al-Ghalib following a devastating explosion at a nearby gunpowder reserve in the second half of the 16th century. Notably, the Saadian Tombs were built just outside its southern wall in this period.