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).
Ukrainian Soviet Socialist Republic
After World War II, amendments to the Constitution of the Ukrainian SSR were accepted, which allowed it to act as a separate subject of international law in some cases and to a certain extent, remaining a part of the Soviet Union at the same time. In particular, these amendments allowed the Ukrainian SSR to become one of founding members of the United Nations (UN) together with the Soviet Union and the Byelorussian SSR. This was part of a deal with the United States to ensure a degree of balance in the General Assembly, which, the USSR opined, was unbalanced in favor of the Western Bloc. In its capacity as a member of the UN, the Ukrainian SSR was an elected member of the United Nations Security Council in 1948–1949 and 1984–1985.