On 25 December 1991 the president of the USSR Mikhail Gorbachev handed the case with the “nuclear button” to the president of Russia Boris Yeltsin. At 19:00 MSK, in a TV address to the nation, Gorbachev announced that he resigned the position of the president of the USSR because the Commonwealth of the Independent States had been formed. At 19:38, the flag of the USSR was replaced with the new flag of Russia on the dome of the Kremlin Palace.
Half a year earlier, on 17 March 1991, during the referendum, 76.43% of the Soviet citizens who participated in the referendum voted Yes to preserve the Soviet Union in the form of the federation of equal republics. After the GKChP coup attempt it seemed impossible to comply with the results of the referendum and on the 8 December the leaders of Russia, Ukraine and Belorussia signed the agreement on the dissolution of the Soviet Union and creation of the Commonwealth of the Independent States (CIS). All this ended with the resignation of M. Gorbachev.
Eventually, the nationalists superseded communists in all former republics of the USSR. Same thing only different.
On the same day in 1991, Boris Yeltsin signed the bill on the renaming of the Russian Soviet Federative Socialist Republic to Russian Federation. Tajikistan ratified the agreement on the creation of CIS.
Just think that all this happened 17 years ago... Sorry for the triviality, the time flies.
On 25 December 2000, the second president of Russian Federation V. Putin signed three laws: on the national anthem, on the national flag and the national coat of arms. The new anthem was the anthem of the Soviet Union (with slightly modified lyrics), the new coat of arms was borrowed from the tsarist Russia (it even has the royal crown), and the new flag was the flag of democratic Russia (it had been used also by the White Guard).