The dissolution of the Soviet Union[h] (1988–1991) was the process of internal political, economic and ethnic disintegration within the USSR as an unintended result of General Secretary Mikhail Gorbachev's effort of reform of the Soviet political and economic system in an attempt to end the Era of Stagnation, which resulted in the end of its existence as a sovereign state. In late 1991, the leaders of three of the Union's founding and largest republics (the Russian SFSR, the Ukrainian SSR and the Byelorussian SSR) declared that the Soviet Union no longer existed, and 11 more republics joined them shortly thereafter. Gorbachev had to resign his office as president and what was left of the parliament to formally acknowledge the Union's collapse as a fait accompli. The process began with growing unrest in the Union's various constituent national republics developing into an incessant political and legislative conflict between them and the central government. Estonia was the first Soviet republic to declare state sovereignty inside the Union in 1988. Lithuania was the first republic to officially break away from the USSR and declare independence in the Act of March 11, 1990 (not counting the autonomy of Nakhchivan, which had declared independence from both the USSR and the Azerbaijan SSR a few weeks earlier, later rejoining Azerbaijan). The failure of the 1991 August Coup, when communist hardliners and military elites tried to overthrow Gorbachev and stop the failing reforms, led to the government in Moscow losing most of its influence, and many republics proclaiming independence in the following days and months. The secession of the Baltic states was recognized in September 1991. The Belovezha Accords were arbitrarily signed on December 8 by President Boris Yeltsin of the Russian SFSR, President Kravchuk of Ukraine, and Chairman Shushkevich of Belarus, recognising each other's independence and creating the Commonwealth of Independent States (CIS) instead of the Soviet Union. Kazakhstan was the last nation to leave the Union, proclaiming independence on December 16. All the republics, with the exception of Georgia and the Baltics, joined the CIS on December 21, signing the Alma-Ata Protocol.[1] On December 25, Gorbachev resigned and turned over his presidential powers—including control of the nuclear launch codes—to Yeltsin, who was the president of the Russian Federation until 1999. That evening at 7:32 p.m., the Soviet red banner was lowered from the Kremlin for the last time and replaced with the Russian tricolour flag.[1] The following day, the Declaration 142-Н of the Supreme Soviet's upper chamber, the Soviet of the Republics, recognised self-governing independence for the former Soviet republics, formally dissolving the Union.[2][3] Both the Revolutions of 1989 in the Eastern Bloc and the dissolution of the Soviet Union marked the end of the Cold War. In the aftermath of the Cold War, several of the former Soviet republics have retained close links with Russia and formed multilateral organizations such as CSTO, the CIS, the Eurasian Economic Community, the Union State, the Eurasian Customs Union, and the Eurasian Economic Union, for economic and military cooperation. On the other hand, the Baltic states and most of the former Warsaw Pact states became part of the European Union and joined NATO, while some of the other former Soviet republics like Ukraine, Georgia and Moldova have been publicly expressing interest in following the same path since the 1990s. ©Millitary power Comparison Desolution of The soviet union(ussr)