After the Soviet annexation of the Kresy territories east of the Curzon Line, about 2 million Poles were moved, transferred or expelled from these areas into the new western and northern territories east of the Oder–Neisse line, which were transferred from Germany to Poland under the Potsdam Agreement. Others stayed in what had become the Soviet Union and more went to Poland after 1956. Additional settlement with people from central parts of Poland brought the number of Poles in what the government called the Recovered Territories up to 5 million by 1950. Most of the former German population of 10 million had fled or was expelled to post-war Germany by 1950: about 4.4 million fled in the final stages of the war and 3.5 million were removed by the Polish authorities in 1945–1949. The expulsion of the Germans was the result of the Allied decisions finalized in Potsdam.