garian authorities established the Ukrainian Legion to fight against the Russian Empire. This legion was the foundation of the Ukrainian Galician Army that fought against the Bolsheviks and Poles in the post World War I period (1919–23). Those suspected of Russophile sentiments in Austria were treated harshly. Up to 5,000 supporters of the Russian Empire from Galicia were detained and placed in Austrian internment camps in Talerhof, Styria, and in a fortress at Terezín (now in the Czech Republic).
When World War I ended, several empires collapsed; among them were the Russian and Austrian empires. The Russian Revolution of 1917 ensued, and a Ukrainian national movement for self-determination reemerged, with heavy Communist/Socialist influence. During 1917–20, several separate Ukrainian states briefly emerged: the Ukrainian People's Republic, the Hetmanate, the Directorate and the pro-Bolshevik Ukrainian Soviet Socialist Republic (or Soviet Ukraine) successively established territories in the former Russian Empire; while the West Ukrainian People's Republic and the Hutsul Republic emerged briefly in the former Austro-Hungarian territory. This led to civil war, and an anarchist movement called the Black Army led by Nestor Makhno developed in Southern Ukraine during that war.
However, Poland defeated Western Ukraine in the Polish-Ukrainian War, but failed against the Bolsheviks in an offensive against Kiev. According to the Peace of Riga concluded between the Soviets and Poland, western Ukraine was officially incorporated into Poland, who in turn recognised the Ukrainian Soviet Socialist Republic in March 1919. Ukraine became a founding member of the Union of Soviet Socialist Republics or the Soviet Union in December 1922.
Inter-war Polish Ukraine
The war in Ukraine continued for another two years; by 1921, however, most of Ukraine had been taken over by the Soviet Union, while Galicia and Volhynia were incorporated into