According to the Potsdam Agreement in 1945, the SMAD was assigned the eastern portion of present-day Germany, consisting mostly of central Prussia. Prussia was dissolved by the Allies in 1947 and this area was divided between several German states (Länder). German lands east of the Oder-Neisse line were annexed by Soviet Union or granted to Poland, and Germans living in these areas were forcibly expelled, having had their property expropriated and been robbed of most of their belongings whilst in transit to the American, British, and Soviet zones.