One of the seven gates of the medina, it was constructed in the early 15th century/10th c. AH as the city grew due to the settlement of Jews and Muslims expelled from Spain.