After the Thirty Years' War, the population figure rose only slowly, falling back in the wake of many wars, disease outbreaks and famines. Only beginning in the mid-19th century, as the town was spreading outside to old town walls and as the textile and machine building industries were growing did the population figure rise sharply. Between 1910 and 1913, it surpassed 10,000 and after the Second World War, sometime between 1946 and 1950, it reached the 20,000 mark. After eleven villages were amalgamated in 1972, the population reached some 27,000, and sometime between 1987 and 1994, the town's population reached 30,000.