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.