It was given Magdeburg Rights at the end of the 16th century.
Magdeburgi linnaõigused sai 16. sajandi lõpul.