In 1839, the "Warsaw-Vienna Railway Company" was founded as a joint stock company. In the same year it applied for a license to build the Warsaw-Vienna Railway line. Construction started in 1840, but in 1842 the company went bankrupt. The shares and property were taken over by the Government of Russian Poland in 1843 and construction continued. The first section (from Warsaw to Grodzisk Mazowiecki) was finished on 15 June 1845, and before December had reached Skierniewice. The whole line to "Granica" ("Border") station was completed in 1848, with a junction to Szkarpawa station of Kraków and Upper Silesia Railway. In the same year, after the outbreak of the Spring of Nations, the first large international railway-military operation dispatched over 200,000 mounted Russian soldiers from Warsaw to Vienna and Budapest to help the Emperor of Austria put down the uprising.