The Cold War ended as communist governments failed and reformed in the 1980s-1990s. Most communist countries struggled with economic failures, poverty, and lack of freedoms by the 1980s. Mikhail Gorbachev reformed the Soviet Union with policies of perestroika and glasnost, allowing more economic freedom and criticism of government. This led to anti-communist revolutions in Eastern Europe in 1989 and the fall of the Berlin Wall. Germany was reunified under a democratic government in 1990 as the Soviet Union broke up into 15 countries in 1991, ending the Cold War.