The Warsaw Pact was a collective defense alliance formed in May 1955 by the Soviet Union and seven other Eastern Bloc socialist republics. Established during the Cold War, it served as a military counterbalance to NATO. The pact formally dissolved in 1991.