The tunnel and the associated railway line were finished in 1874, to link Galicia with the rest of the Austro-Hungarian Empire across the Carpathian mountains. Given that it was such a vital communications link, the pass had considerable strategic importance.