Several Soviet Socialist Republics began resisting central control, and increasing democratization led to a weakening of the central government. The USSR's trade gap progressively emptied the coffers of the union, leading to eventual bankruptcy. The Soviet Union finally collapsed in 1991 when Boris Yeltsin seized power in the aftermath of a failed coup that had attempted to topple reform-minded Gorbachev.