 On 3 October 1655, it was the scene of "the Battle of Wojnicz".On 19 March 1657 the town was sacked and burned by troops of George II Rakoczi of Hungary.During the Great Northern War, Swedish invaders once again destroyed the town in 1702.