In 1742 the settlement was annexed by the Kingdom of Prussia. In 1768 it was granted town rights. In the 19th century the spa town often changed its owners, which slowed its development.
The town was incorporated into the Kingdom of Prussia in 1742 and received city status in 1768. However, during the 19th century, it underwent frequent changes in ownership, which impeded its progress.