<P> "The full authority of a sovereign state" was granted to the Federal Republic of Germany on 5 May 1955 under the terms of the Bonn--Paris conventions . The treaty ended the military occupation of West German territory, but the three occupying powers retained some special rights, e.g. vis - à - vis West Berlin . </P> <P> Treaty on the Final Settlement with Respect to Germany: Under the terms of this peace treaty, the Four Powers renounced all rights they formerly held in Germany, including Berlin . As a result, Germany became fully sovereign on 15 March 1991 . Under the terms of the Treaty, the Allies were allowed to keep troops in Berlin until the end of 1994 (articles 4 and 5). In accordance with the Treaty, occupying troops were withdrawn by that deadline . </P>

Where was the treaty to end ww2 signed