Under the Germanized name "Leschnitz", it was annexed by the Kingdom of Prussia in 1742 during the First Silesian War. The town was included in Landkreis Groß Strehlitz within the Prussian Province of Silesia in 1816. Leschnitz became part of the German Empire in 1871 during the unification of Germany. In the 1921 Upper Silesia plebiscite, 89.6% of votes in the town were cast in favour of remaining in Germany.