page_title: Bab Doukkala Mosque
section_title: Historical background
hierarchical_section_title: Bab Doukkala Mosque / Historical background
caption_attribution_description: العربية: باب جامع باب الدكالة
context_page_description: The Bab Doukkala Mosque is a major neighbourhood mosque in Marrakesh, Morocco, dating from the 16th century. It is named after the nearby city gate, Bab Doukkala, in the western city walls. It is also known as the al-Hurra Mosque.
context_section_description: It was commissioned by Lalla Mas'uda bint Ahmad, a daughter of Muhammad al-Sheikh (the founder of the Saadian Dynasty) and mother of Sultan Ahmad al-Mansur, during the Saadian Dynasty. Construction of the mosque began in 1557-58 CE (965 AH) and probably finished around 1570-71 CE (979 AH), which would have been under the reign of Moulay Abdallah al-Ghalib. Lalla Ma'suda's status as a powerful and "free" or independent woman may have given the mosque its alternate name of Jami' al-Hurra ("Mosque of Freedom"). 
  In 1557-58 CE the sultan had ordered that the Jewish population of the city relocate to an area closer to the Kasbah (royal citadel), resulting in the creation of a Jewish mellah which continued to exist into modern times. Construction of the new mellah was probably finished around 1562-63. Meanwhile, the emptying of the old Jewish neighbourhoods had liberated a large amount of space within the city which was open to redevelopment. The Bab Doukkala Mosque, along with the Mouassine Mosque built around the same time, appears to have been part of a larger plan to build new "model" neighbourhoods in the area. It was conceived as part of a coherent religious and civic complex which included, in addition to the mosque itself, a madrasa, library, hammam (public bathhouse) with latrines, and a public fountain for distributing water to the locals. This type of architectural complex was unprecedented in Morocco, and may have been influenced by the tradition of building such complexes in Mamluk Egypt and in the Ottoman Empire.
caption: Door of the Bab Doukkala Mosque.
exif: {"Image ImageDescription": "Processed with VSCO with k1 preset", "Image Make": "Apple", "Image Model": "iPhone 6", "Image Orientation": "Horizontal (normal)", "Image XResolution": "72", "Image YResolution": "72", "Image ResolutionUnit": "Pixels/Inch", "Image Software": "VSCO", "Image DateTime": "2017:01:02 11:30:56", "Image HostComputer": "iPhone", "Image Copyright": "Copyright 2017. All rights reserved.", "Image ExifOffset": "298", "EXIF ExposureTime": "1/425", "EXIF FNumber": "11/5", "EXIF ExposureProgram": "Program Normal", "EXIF ISOSpeedRatings": "32", "EXIF ExifVersion": "0221", "EXIF DateTimeOriginal": "2017:01:02 11:30:56", "EXIF DateTimeDigitized": "2017:01:02 11:30:56", "EXIF ComponentsConfiguration": "YCbCr", "EXIF ShutterSpeedValue": "10129/1160", "EXIF ApertureValue": "7892/3469", "EXIF BrightnessValue": "36017/4202", "EXIF ExposureBiasValue": "0", "EXIF MeteringMode": "Pattern", "EXIF Flash": "Flash did not fire, compulsory flash mode", "EXIF FocalLength": "83/20", "EXIF SubjectArea": "[1631, 1223, 1795, 1077]", "EXIF SubSecTimeOriginal": "604", "EXIF SubSecTimeDigitized": "604", "EXIF FlashPixVersion": "0100", "EXIF ColorSpace": "sRGB", "EXIF ExifImageWidth": "2448", "EXIF ExifImageLength": "3262", "EXIF SensingMethod": "One-chip color area", "EXIF SceneType": "Directly Photographed", "EXIF ExposureMode": "Auto Exposure", "EXIF WhiteBalance": "Auto", "EXIF FocalLengthIn35mmFilm": "29", "EXIF SceneCaptureType": "Standard", "EXIF LensSpecification": "[83/20, 83/20, 11/5, 11/5]", "EXIF LensMake": "Apple", "EXIF LensModel": "iPhone 6 back camera 4.15mm f/2.2"}