In the 17th century, during the Thirty Years' War, Swedish troops marched through the town. In the early 19th century, during the Napoleonic Wars and Polish national liberation fights, also French and Polish troops marched through the area.
During the 17th-century conflict of the Thirty Years' War, Swedish soldiers passed through the town. In the early 19th century, during the Napoleonic conflicts and Polish independence movements, French and Polish troops also traversed the area.