In 1243 Papal Legate William of Modena divided Prussia into four bishoprics. Behrendshagen in Elbing Territory, since 1945 Jagodnik, Elblag, was part of Prussian Bishopric of Pomesania. Before 1772 the area was part of Western or Royal Prussia; reunited with Eastern Prussia from 1772 in Kingdom of Prussia, since 1871 German Reich. After World War II the region was placed under Polish administration by the Potsdam Agreement under territorial changes demanded by the Soviet Union. Most Germans fled or were expelled and replaced with Poles expelled from the Polish areas annexed by the Soviet Union or Ukrainians forced to settle in the area through Operation Vistula in 1947.