Until 1810 the town remained under the suzerainty of the Diocese of Wrocław. In 1843 a railway connection with Wrocław was opened, the second oldest in Silesia.
For nearly two centuries, the town was governed by the Diocese of Wrocław. The establishment of a railway link between the town and Wrocław in 1843 marked an important milestone, as it was also the second-oldest such connection in Silesia.