The street with the tram lines that lead uphill from Sultanahmet (Divan Yolu) was, and still is, the main road leading to the city gates in Byzantine and Ottoman times.
The road where the tram lines are used to be the main road to the city gates.