With most of Silesia it was annexed by Prussia in 1742, and after the Napoleonic Wars became an important border town close to Russian Congress Poland – Emperor Alexander I passed it on his way to the 1815 Congress of Vienna. The Woischnik estates were a possession of the Henckel von Donnersmarck noble family until the town passed to the Silesian Voivodeship of the Second Polish Republic upon the Upper Silesia plebiscite in 1921. In Wozniki lived famous Silesian writer Jozef Lompa.