The formation of the Warsaw Pact was a direct response to the formation of the North Atlantic Treaty Organization (NATO). The Warsaw Pact was a military alliance between the Soviet Union and its satellite states in Eastern Europe. It was created in 1955 as a counterweight to NATO, which had been formed in 1949.
The Warsaw Pact was designed to deter any potential aggression from NATO countries, and to provide mutual defense in the event of war. It was also intended to maintain Soviet control over Eastern Europe, and to prevent the region from falling under the influence of the West.
The Warsaw Pact countries included the Soviet Union, Poland, East Germany, Czechoslovakia, Hungary, Romania, Bulgaria, and Albania. Yugoslavia was also a member of the pact until 1961.
The Warsaw Pact was dissolved in 1991, following the collapse of the Soviet Union.