 By the 18th century the town had become impoverished.In the course of the 1872 reorganisation of public administration it lost its city rights that were returned only in 1973.Numerous heritage buildings have remained from the town's heyday.