Mosque of Al-Muayyad
To the west of the Bab Zuwayla had been a dungeon, which once imprisoned sheik Amir Al Mu'ayyad. While still a prisoner, he had vowed that if he were ever released, he would someday destroy the dungeon, and build a mosque in its place. He was indeed eventually released, and rose to became Sultan of all Egypt. True to his word, he razed the old dungeon, and built a new mosque on the location in 1415, the Mosque of Sultan al-Muayyad.
Read more about this topic: Bab Zuweila