In 1370, it was acquired by King Charles IV and promoted to a town. It was a town until the reforms in the middle of the 19th century.
In 1370, it was acquired by King Charles IV and elevated to municipal status, retaining that status until reforms in the mid-19th century.