After the establishment of the First Czechoslovak Republic in 1918, the town was strongly militarized in the interwar period due to its strategic position near the German border at Kladsko Pass.
All German town population was expelled [expulsion of Germans from Czechoslovakia|] in 1945.