 However, it was not officially incorporated as a town until 1962.From 1871 to 1945 it was part of Germany, although in the 19th century it was inhabited predominantly by Poles and Czechs, mostly of Catholic confession.During World War II the Germans established two forced labour camps and three prisoner of war labour units in the village.