The communist German Democratic Republic was established in the historic "Mitteldeutschland" ( Middle Germany ). Former German territories east of the Oder and Neisse rivers, mainly the Prussian provinces of Pomerania , East Prussia , West Prussia , Upper Silesia , Lower Silesia , the eastern Neumark of Brandenburg , and a small piece of Saxony were thus detached from Germany. To compensate Poland for the USSR's annexation of its eastern provinces, the Allies provisionally established Poland's post-war western border at the Oder–Neisse line at the Yalta Conference (1945). As a result, most of Germany's central territories became the Sowjetische Besatzungszone (SBZ, Soviet Occupation Zone). All other lands east of the Oder–Neisse line were put under Polish administration, with the exception of historic northern East Prussia , which went to the USSR. 
In the wake of that resolution of accession, the "German reunification treaty",    commonly known in German as " Einigungsvertrag " (Unification Treaty) or " Wiedervereinigungsvertrag " (Reunification Treaty), that had been negotiated between the two German states since 2 July 1990, was signed by representatives of the two Governments on 31 August 1990. This Treaty, officially titled Vertrag zwischen der Bundesrepublik Deutschland und der Deutschen Demokratischen Republik über die Herstellung der Einheit Deutschlands (Treaty between the Federal Republic of Germany and the German Democratic Republic on the Establishment of German Unity), was approved by large majorities in the legislative chambers of both countries on 20 September 1990  (442–47 in the West German Bundestag and 299–80 in the East German Volkskammer). The Treaty passed the West German Bundesrat on the following day, 21 September 1990. The amendments to the Federal Republic's Basic Law that were foreseen in the Unification Treaty or necessary for its implementation were adopted by the Federal Statute of 23 September 1990, that enacted the incorporation of the Treaty as part of the Law of the Federal Republic of Germany. The said Federal Statute, containing the whole text of the Treaty and its Protocols as an annex, was published in the Bundesgesetzblatt (the official journal for the publication of the laws of the Federal Republic) on 28 September 1990.  In the German Democratic Republic, the constitutional law ( Verfassungsgesetz ) giving effect to the Treaty was also published on 28 September 1990.  With the adoption of the Treaty as part of its Constitution, East Germany legislated its own abolition as a State.