The town suffered many times from fire. In 1463 it was first plundered and thereafter burned down completely by Poles during the Thirteen Years' War. In 1626, during the Polish–Swedish War (1626–29), it was completely burned down once more. During the years 1646, 1663 and 1669 it partly burned down, and in 1709 again, entirely.