At the unconditional surrender of the Wehrmacht on May 8, 1945, U.S., British, and French troops were on the territory of West Germany, and Soviet troops were on the territory of East Germany, including the entire city of Berlin. The Americans and British had initially occupied Thuringia and parts of Saxony, parts of what would later become Saxony-Anhalt and Mecklenburg. On the basis of prior agreements, the Western Allies withdrew in July 1945 to the territory in the west that had been defined in the treaty, and in return the Soviet Union vacated the western part of Berlin. Thus, in addition to the four occupation zones, the four-sector city of Berlin was created, governed jointly by all four powers, with one Soviet, one American, one British and one French sector each.
At the Potsdam Conference in August 1945, the three victorious powers, the United States of America, the Soviet Union and the United Kingdom, decided to place the German eastern territories beyond the Oder-Neisse line under the administrative sovereignty of the Soviet Union and Poland. They divided the remaining territory of the German Reich within the boundaries of December 31, 1937, into zones of occupation. France, which had only been recognized as the fourth victorious power at the Yalta Conference in February 1945 but had not participated in the conference, agreed to the agreement with reservations.
Three months earlier, the Soviet Union had already transferred the German eastern territories, with the exception of Königsberg and North East Prussia (today the KaliningradOblast), to the later People's Republic of Poland for administration. The Soviet Union received the territory of the later German DemocraticRepublic as an occupation zone. The United Kingdom claimed the territory of present-day Schleswig-Holstein, Hamburg, Lower Saxony and North Rhine-Westphalia. The American occupation zone covered Bavaria, Hesse, the northern parts of Württemberg and Baden. As a port city, Bremen and Bremerhaven came under American occupation. France received what later became Rhineland-Palatinate, the southern parts of Württemberg and Baden, and Saarland as an occupation zone; the latter did not become a state of the Federal Republic until 1957. The four victorious powers divided the former Reich capital Berlin into four sectors.
The Allied Control Council, based in Berlin, held supreme governmental power for the whole of Germany; the Allied Commandant's Office, subordinate to the Control Council, was responsible for Greater Berlin.
In the Eastern territories, Czechoslovakia and other East-Central European countries, the systematic expulsion of the German population began in the following period. Some 14 to 16 million people were expelled to the western as well as the Soviet occupation zones or had to flee, placing an additional burden on the already difficult situation; soon the majority of the population in some areas consisted of expellees.
In Germany itself, life in the partly bombed-out cities was very difficult due to a lack of housing as well as food shortages, destroyed infrastructure, lack of electricity and fuel shortages. Because many men were prisoners of war, rubble women cleared the debris in the cities. City dwellers drove en masse to the countryside on so-called hoarding trips to exchange food for material goods. The Reichsmark as the official currency no longer had any real value because of the extensive forced farming, the black market and trade in material goods flourished, and US cigarettes became a substitute currency. Numerous trees were cut down and coal trains looted because of the fuel shortage. Food was only available through food stamps or was homegrown.
The occupying powers ordered denazification, banned the NSDAP and its sub-organizations, and had all National Socialist symbols removed. Germans in the western occupation zones were systematically examined for their National Socialist past using questionnaires. However, there were numerous opportunities to obtain a so-called "Persilschein" on the black market. Numerous offices in the authorities had to be filled anew (in many places with old Nazis), and many new teachers were also trained for their profession in just a few months. On November 14, 1945, the trial of the main war criminals began in Nuremberg; on October 1, 1946, 12 of the 21 main accused (defendants) were sentenced to death. This was followed by subsequent trials of other war criminals.
See also: Legal situation of Germany after 1945