page_title: Walls of Marrakesh
section_title: Gates of the Kasbah
hierarchical_section_title: Walls of Marrakesh / City Gates / Gates of the Kasbah
caption_attribution_description: Bab Ksiba (Ksiba Gate), Marrakech, Morocco
context_page_description: The Walls of Marrakesh are a set of defensive ramparts which enclose the historic medina districts of Marrakesh, Morocco. They were first laid out in the early 12th century by the Almoravid dynasty which founded the city in 1070 CE as their new capital. The walls have since been expanded several times by the addition of the Kasbah to the south at the end of the 13th century and by the later extension of the walls to encompass the neighbourhood around the Zawiya of Sidi Bel Abbes.
  The Gates of Marrakesh were for the most part established since the original Almoravid construction of the city walls but most have been modified during later periods. Other gates were also added when the Almohads created the Kasbah, which itself has been expanded and re-worked many times since.
context_section_description: The earliest gates of the Kasbah date to the Almohad period, but a number of gates date from the various expansions of the kasbah and the royal palace (Dar al-Makhzen) in later centuries.
caption: Bab Ksiba
exif: {"Image ImageDescription": "", "Image Make": "Canon", "Image Model": "Canon PowerShot SX50 HS", "Image XResolution": "180", "Image YResolution": "180", "Image ResolutionUnit": "Pixels/Inch", "Image DateTime": "2014:03:10 17:21:14", "Image YCbCrPositioning": "Co-sited", "Image ExifOffset": "234", "GPS GPSVersionID": "[2, 3, 0, 0]", "Image GPSInfo": "1068", "Thumbnail Compression": "JPEG (old-style)", "Thumbnail XResolution": "180", "Thumbnail YResolution": "180", "Thumbnail ResolutionUnit": "Pixels/Inch", "Thumbnail JPEGInterchangeFormat": "1192", "Thumbnail JPEGInterchangeFormatLength": "6932", "Thumbnail YCbCrPositioning": "Co-sited", "EXIF ExposureTime": "1/200", "EXIF FNumber": "9/2", "EXIF ISOSpeedRatings": "80", "EXIF ExifVersion": "0230", "EXIF DateTimeOriginal": "2014:02:28 07:37:52", "EXIF DateTimeDigitized": "2014:02:28 07:37:52", "EXIF ComponentsConfiguration": "YCbCr", "EXIF CompressedBitsPerPixel": "3", "EXIF ShutterSpeedValue": "245/32", "EXIF ApertureValue": "139/32", "EXIF ExposureBiasValue": "0", "EXIF MaxApertureValue": "139/32", "EXIF MeteringMode": "Pattern", "EXIF Flash": "Flash did not fire, compulsory flash mode", "EXIF FocalLength": "2809/250", "EXIF FlashPixVersion": "0100", "EXIF ColorSpace": "sRGB", "EXIF ExifImageWidth": "2929", "EXIF ExifImageLength": "3904", "Interoperability InteroperabilityIndex": "\u0004\u0004\u0004\u0005", "Interoperability InteroperabilityVersion": "[3, 0, 0, 0]", "Interoperability RelatedImageWidth": "4000", "Interoperability RelatedImageLength": "3000", "EXIF InteroperabilityOffset": "1008", "EXIF FocalPlaneXResolution": "1000000/61", "EXIF FocalPlaneYResolution": "1000000/61", "EXIF FocalPlaneResolutionUnit": "2", "EXIF SensingMethod": "One-chip color area", "EXIF FileSource": "Digital Camera", "EXIF CustomRendered": "Normal", "EXIF ExposureMode": "Auto Exposure", "EXIF WhiteBalance": "Manual", "EXIF DigitalZoomRatio": "1", "EXIF SceneCaptureType": "Standard"}