This railway stretches for 1400 kilometers to Lviv, Ukraine, via Ljubljana, Slovenia; Sopron, Hungary; Vienna, Austria; and Kraków, Poland, crossing the backbone of the Alps mountains through the Semmering Pass near Graz.