<P> After the collapse of the Soviet Union, the last Soviet soldier left the country in 1991, thus ending Soviet military presence in Hungary . </P> <P> The Soviet's second Jassy - Kishinev Offensive led to defeat of Romania, subsequent coup d'état, and the switch of Romania from the Axis to the Allies . The Soviet troops were stationed in this country from 1944 and 1958 . On 12 September 1944, with the Red Army already controlling much of Romania's territory, an Armistice Agreement between Romania and the USSR was signed, under which Romania retroceded the territory it administered earlier in the war, and subjected itself to an allied commission consisting of the Soviet Union, the United States, and the United Kingdom . On the ground, it was the Soviet military command, and not the Western allies, that de facto exercised dominant authority . The presence and free movement of Soviet troops was explicitly stipulated in the agreement . </P> <P> The terms of the Armistice Agreement ceased on 15 September 1947 as the conditions of the Paris Peace Treaty entered into force . The new treaty stipulated the withdrawal of all Allied forces from Romania with an important exemption that such withdrawal was "subject to the right of the Soviet Union to keep on Romanian territory such armed forces as it may need for the maintenance of the lines of communication of the Soviet Army with the Soviet zone of occupation in Austria ." </P> <P> In the aftermath of the agreement the Soviet presence fell from 130,000 troops (the peak in 1947) to approximately 30,000 . The troops were fully withdrawn by August 1958 . </P>

What countries remained under soviet control after the end of world war ii