<P> End of state of war with Germany was declared by many former Western Allies in 1950 . In the Petersberg Agreement of 22 November 1949, it was noted that the West German government wanted an end to the state of war, but the request could not be granted . The US state of war with Germany was being maintained for legal reasons, and though it was softened somewhat it was not suspended since "the US wants to retain a legal basis for keeping a US force in Western Germany". At a meeting for the Foreign Ministers of France, the UK, and the US in New York from 12 September--19 December 1950, it was stated that among other measures to strengthen West Germany's position in the Cold War that the western allies would "end by legislation the state of war with Germany". In 1951, many former Western Allies did end their state of war with Germany: Australia (9 July), Canada, Italy, New Zealand, the Netherlands (26 July), South Africa, the United Kingdom (9 July), and the United States (19 October). The state of war between Germany and the Soviet Union was ended in early 1955 . </P> <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, following the acts of official German reunification achieved on 3 October 1990 and which itself was enabled by the Treaty, 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>

When was the treaty signed to end ww2