Next to the mosque are the Theodosian Walls, pierced here by the Adrianople Gate (Edirnekap??), where Mehmet the Conqueror entered the fallen city in 1453.
Mehmet the Conqueror repaired the broken part of the wall by putting the Adrianople Gate there instead.