 A castle with a round tower dating from that time was reconstructed in the 1970s.The city rights were confirmed according to Magdeburg town law by King Władysław II Jagiełło in 1420.During the mid-17th-century Swedish Deluge campaigns, castle and town were burnt down completely.