In 1795 during the Third Partition of Poland, the town became part of Habsburg Austria. In 1809 it briefly passed to the Polish Duchy of Warsaw, before becoming part of Congress Poland under Russian rule from 1815 onward. The town saw a significant influx of Jewish settlers as a result of Russian discriminatory policies, and the Jewish community grew to eventually constitute two thirds of the town's population. In 1869 Piaski lost its municipal rights as punishment for the January Uprising. After World War I, since 1918 it has belonged to reconstituted sovereign Poland, and then Polish cultural life was revived. After the Polish decisive victory in the Battle of Warsaw (1920) against the invading Russians, the Polish Riflemen's Association was established for local youth. Its pupils later joined the Polish underground resistance movement, including the Home Army, during the German occupation of Poland in World War II. In 1921, Piaski had 2,674 Jews among its 3,974 inhabitants.