The Reformation brought Roskilde's development to an abrupt stop. While the cathedral continued to be the preferred location for the entombment of the Danish monarchs, most of the other religious institutions disappeared. 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, the plague in 1710 and 1711, and a series of fires in 1730. 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.