In the interbellum, it was administratively located in the Wilno Voivodeship of Poland. According to the 1921 Polish census, the town had a population of 1,076, of which 91.1% declared Polish nationality.[2]
During World War II, it was initially occupied by the Soviet Union until 1941, then by Nazi Germany until 1944, and then once again by the Soviet Union, which eventually annexed it from Poland. The Germans operated a forced labour camp for Jews in the town.[3]