Potsdam Agreement
After the defeat of Germany in World War II, under the terms of the Potsdam Agreement, in 1945 the region became part of Poland, which renamed the canal after the Piast dynasty.