In 1980, Moscow hosted the Summer Olympic Games, which the United States and several other Western countries did not go to because of the Soviet Union's war in Afghanistan in the end of 1979. In 1991, Moscow was the scene of a failed overthrow attempt by government members opposed to Mikhail Gorbachev. When the USSR ended in the same year, Moscow continued to be the capital of Russia.