Before the construction of the Gotthard Railway there were no north-south rail connections to Italy. The railroad lines ended at the foot of the Alps - the VSB reached Chur in 1858, the SCB reached Lucerne and Thun in 1859, and in 1878 the Simplon Railway (part of the Western Switzerland–Simplon Company from 1881) reached Brig. The Swiss railway companies and regions competed to build a railway though various Swiss Alpine passes: the Lukmanier, the Splügen, the Gotthard and the Simplon. In view of the completion of the Brenner Railway to the east in 1867 and the commencement of construction of east and the Fréjus railway line in 1857 (completed in 1871) in the west, it was decided to build the Gotthard railway and contracts were signed with Swiss, German and Italian contractors in 1869. Despite financial difficulties the line was opened in 1882.