In 1919 it became part of Czechoslovakia.
During the communist era the town underwent rapid modernization and industrialization, which has left over 85% of the city's historical center demolished and replaced with social-realist concrete buildings typical of the era.