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).
Ukraine
On 16 July 1990, the new parliament adopted the Declaration of State Sovereignty of Ukraine. This established the principles of the self-determination, democracy, independence, and the priority of Ukrainian law over Soviet law. A month earlier, a similar declaration was adopted by the parliament of the Russian SFSR. This started a period of confrontation with the central Soviet authorities. In August 1991, a faction among the Communist leaders of the Soviet Union attempted a coup to remove Mikhail Gorbachev and to restore the Communist party's power. After it failed, on 24 August 1991 the Ukrainian parliament adopted the Act of Independence.