sentences:  The town, like almost all locations of Lesser Poland, was devastated in October 1655, during the Swedish invasion of Poland, and as a result, its population declined from 2,000 to 768.In 1723, the town became the property of the Sanguszko family, which purchased it from the Lubomirski family.After the first partition of Poland (1772), Tarnów was annexed by the Habsburg Empire, and remained in Austrian Galicia until late 1918.