The Swedish invasions of Poland of 1626–29 and 1655–60 brought devastation to the town. In the beginning of the 18th-century Russian, Saxon, Swedish armies went through the area along with supporters of Stanisław Leszczyński. The constant warfare led to the fall of the city, and its breaking point was reached due a plague that happened in years 1708–1710. A next series of wars in 1733–1735 and in 1756–1763 along with fire in 1762 almost completely destroyed the city.