Istanbul was surrounded by city walls that stretched from Yedikule on the Marmara shore to Ayvansaray on the shore of the Golden Horn.