Before 1945 Eichhorn was part of the German province of East Prussia. After World War II the area was placed under Polish administration according to the post-war Potsdam Agreement. Germans fled or were expelled and replaced with Poles, many of them expelled from the Polish areas annexed by the Soviet Union or forced to settle in the area throughout the Operation Vistula in 1947.