Near the end of World War II, in January 1945, the Germans evacuated most of the settlement's population, and most of the remaining residents were recruited into the Volkssturm. The settlement was captured by the Soviets in late January 1945. According to local Poles, only three buildings were destroyed in battle, and more were destroyed and burned down by the Soviet troops later on. The settlement was transferred from Germany to Poland in 1945 and had its remaining German-speaking population expelled; it received town privileges in the same year.