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.

Does it follow that "The road where the tram lines are used to be the main road to the city gates."?
yes