It was rebuilt from 1364 to 1384, and was granted Kulm law by Winrich von Kniprode. After the Polish victory in the Battle of Grunwald in 1410, the town was briefly recaptured by Poland.[4] In 1434 the town was burnt down by the Hussites.