Silesian Wars
The town and castle, devastated in the Thirty Years' War, became a property of Krzeszów Abbey in 1703. During the Silesian Wars, in the mid-18th century the town was annexed by Prussia and, subsequently, in 1871 became part of Germany. After secularization, from 1810 the castle was abandoned and slowly deteriorated. Restoration efforts of the castle did not begin until 1905.