 Conditions improved in 1835 when the city became the Assembly of the Estates of the Realm ("Rådgivende Stænderforsamling") and in 1847 with the railway connecting Copenhagen and Roskilde.With the development of the rail network, Roskilde became an important hub for traffic with Copenhagen.In the 1870s and 1880s, the harbour was extended attracting industrial firms to the area.