At the western end of the city were two historic kasbahs (fortified enclosures) attached to the city: the Kasbah an-Nouar, which still exists today on the northern side of Place Bou Jeloud, and the Kasbah Bou Jeloud, whose walls have since disappeared but which stood directly southwest of the current Bab Bou Jeloud gate. The Kasbah Bou Jeloud was historically the governor's residence and the seat of government control.
Two historic fortified enclosures, located at the western edge of the city: the Kasbah an-Nouar, which still stands today on the northern side of Place Bou Jeloud, and the Kasbah Bou Jeloud, whose walls have vanished but once stood southwest of the current Bab Bou Jeloud gate. The Kasbah Bou Jeloud was historically the governor's residence and seat of government control.