The Bohinj Railway is a railway in Slovenia and Italy. It connects Jesenice in Slovenia with Trieste in Italy. It was built by Austria-Hungary from 1900 to 1906 as a part of a new strategic railway, the Neue Alpenbahnen, that would connect Western Austria and Southern Germany with the then Austro-Hungarian port of Trieste. The line starts in Jesenice, at the southern end of the Karawanks Tunnel; it then crosses the Julian Alps through the Bohinj Tunnel, and passes the border town of Nova Gorica before crossing the Italian border and reaching Trieste.