Roskilde has a large local hospital which has been expanded and modernized since it was opened in 1855.
It is now increasingly active in the research sphere.
For the next three centuries, the city suffered a series of disasters including the effects of the Dano-Swedish War which terminated with the Treaty of Roskilde in 1658, 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.
The Roskilde bishops owned large areas of land in the region including, from 1186, Havn on the Øresund which later became Copenhagen.