Leonid Brezhnev was General Secretary of the Soviet Union from 1964 to 1982. During his rule, he did not pursue reforms and maintained the Brezhnev Doctrine that the USSR had the right to intervene in other countries to protect communist regimes. In 1979, the USSR invaded Afghanistan to support the communist regime after it faced uprisings from guerilla groups opposed to communist rule and reforms. Mikhail Gorbachev later came to power in 1985 and pursued policies of glasnost, perestroika, and withdrew support for communist regimes according to the Brezhnev Doctrine. This led to the fall of the Berlin Wall in 1989 and the dissolution of the Soviet Union in 1991.