Ukrainian Soviet Socialist Republic
Eventually, after the creation of the Communist Party (Bolshevik) of Ukraine in Moscow, a third Ukrainian Soviet government was formed on 21 December 1919 that initiated new hostilities against Ukrainian nationalists as they lost their military support from the defeated Central Powers. Eventually, the Red Army ended up controlling much of the Ukrainian territory after the Polish-Soviet Peace of Riga. On 30 December 1922, along with the Russian, Byelorussian, and Transcaucasian republics, the Ukrainian SSR was one of the founding members of the Union of Soviet Socialist Republics (USSR).
Russian Soviet Federative Socialist Republic
On 24 December, Yeltsin informed the Secretary-General of the United Nations that by agreement of the member states of the CIS the Russian Federation would assume the membership of the Soviet Union in all UN organs (including permanent membership in the UN Security Council). Thus, Russia is considered to be an original member of the UN (since 24 October 1945) along with Ukraine (Ukrainian SSR) and Belarus (Byelorussian SSR). On 25 December—just hours after Gorbachev resigned as president of the Soviet Union—the Russian SFSR was renamed the Russian Federation (Russia), reflecting that it was now a sovereign state with Yeltsin assuming the Presidency. That same night, the Soviet flag was lowered and replaced with the tricolor. The Soviet Union officially ceased to exist the next day. The change was originally published on 6 January 1992 ("Rossiyskaya Gazeta"). According to law, during 1992, it was allowed to use the old name of the RSFSR for official business (forms, seals, and stamps).