On 8 May 1944, Beneš signed an agreement with Soviet leaders stipulating that Czechoslovak territory liberated by Soviet armies would be placed under Czechoslovak civilian control.
From 21 September 1944, Czechoslovakia was liberated by the Soviet troops of the Red Army, supported by Czech and Slovak resistance, from the east to the west; only southwestern Bohemia was liberated by other Allied troops (i.e., the U.S. Army) from the west. In May 1945, American forces liberated the city of Plzeň. A civilian uprising against the Nazi garrison took place in Prague in May 1945. The resistance was assisted by the heavily armed Russian Liberation Army, a force composed of Soviet POWs organised by the Germans who now turned against them.
The main brutality suffered in the lands of the pre-war Czechoslovakia came as an immediate result of the German occupation in the Protectorate, the widespread persecution of Jews, and, after the Slovak National Uprising in August 1944, repression in Slovakia.
In spite of the oppressiveness of the government of the German Protectorate, Czechoslovakia did not suffer the degree of population loss that was witnessed during World War II in countries such as Poland and the Soviet Union, and it avoided systematic destruction of its infrastructure. Bratislava was taken from the Germans on 4 April 1945, and Prague on 9 May 1945 by Soviet troops. Both Soviet and Allied troops were withdrawn in the same year.