In August 1991, an unsuccessful military coup that attempted to remove Gorbachev from power instead led to the collapse of the Soviet Union. Boris Yeltsin came to power and declared the end of exclusive Communist rule. The USSR splintered into fifteen independent republics, and was officially dissolved.