sentences:  Until 1532, it was in the hands of the Silesian Piasts, then it belonged to the Hohenzollern dynasty.After 1623 it was a state country in the hands of the Donnersmarck family.From 1742–1945 the town was within the borders of Prussia and Germany, and played an important role as an economic and administrative centre of the local industrial region.