On 3 October 1938, the town was visited by Adolf Hitler; shortly afterward German troops marched into the Sudetenland and seized control. From 1938 until 1945, the town was annexed to Germany and it was one of the municipalities in Sudetenland. On 1 May 1939, the town split away from the surrounding district to form its own municipal district together with the settlement of Matzelbach, and gave its name to the most westerly of the three administrative regions of the Sudetenland. The administrative seat of the Regierungspräsident lay in Karlsbad, however.