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's history began in 1742 when it joined the Kingdom of Prussia. By 1768, it had gained city status. Nevertheless, during the 19th century, it frequently changed hands, which slowed its growth and progress.