Soviet Union in less than two years. In an attempt to avoid a third short-lived leader, in 1985, the Soviets turned to the next generation and selected Mikhail Gorbachev. Gorbachev made significant changes in the economy and party leadership, called "perestroika". His policy of "glasnost" freed public access to information after decades of heavy government censorship. Gorbachev also moved to end the Cold War. In 1988, the Soviet Union abandoned its nine-year war in Afghanistan and began to withdraw its forces. In the late 1980s, , which paved the way for Revolutions of 1989. With the tearing down of the Berlin Wall
Mikhail Gorbachev the government. Shortly afterward, the Supreme Soviet suspended all Party activities on Soviet territory. In effect, Communist rule in the Soviet Union had ended. Gorbachev's hopes of a new Union were further hit when the Congress of People's Deputies dissolved itself on 5 September. Though Gorbachev and the representatives of eight republics (excluding Azerbaijan, Georgia, Moldova, Ukraine, Lithuania, Latvia and Estonia) signed an agreement on forming a new economic community on 18 October, events were overtaking him. The Soviet Union collapsed with dramatic speed during the latter part of 1991, as one republic after another declared independence. By the autumn,