The majority of those who survived the war in Ukraine were forcibly deported to the former eastern territories of Germany after Poland was shifted to the west by the Allied Potsdam Agreement after World War II.