 A new city wall was built around Cairo on the orders of the vizier Badr al @-@ Jamali ( r . 1074 – 1094 ) . Cairo had expanded beyond the original city walls , and the city faced threats from the east , notably by the Turkoman Atsiz ibn Uvaq , commander of the Seljuk army . In fact , the fortifications were never put to the test . Three of the gates in the new walls have survived : Bab al @-@ Nasr ( 1087 ) , Bab al @-@ Futuh ( 1087 ) and Bab Zuweila ( 1092 ) . Bab al @-@ Futuh and Bab Zuweila were built at the northern and southern ends of Muizz Street , the main axis of Fatimid Cairo . 
