Original: According to the Potsdam Agreement, the Soviet Military Administration in Germany (German initials: SMAD) was assigned responsibility for the (present-day) eastern portion of Germany.
Simplified: The Americans withdrew in July of 1945 to the agreed occupation zone boundaries.