Write an article that answers the following question: Which happened first, the declaration of Ukrainian independence, or the alliance of the Bolsheviks and Makhno?
All this led to the October Revolution in Petrograd, which quickly spread all over the empire. The Kiev Uprising in November 1917 led to the defeat of Russian imperial forces in the capital. Soon after, the Central Rada took power in Kiev, while in late December 1917 the Bolsheviks set up a rival Ukrainian republic in the eastern city of Kharkov - initially also called the "Ukrainian People's Republic". Hostilities against the Central Rada government in Kiev began immediately. Under these circumstances, the Rada declared Ukrainian independence on January 22, 1918 and broke ties with Russia. The Rada had a limited armed force at its disposal and was hard-pressed by the Kharkov government which received men and resources from the Russian SFSR. As a result, the Bolsheviks quickly overran Poltava, Aleksandrovsk , and Yekaterinoslav by January 1918. Across Ukraine, local Bolsheviks also formed the Odessa and Donetsk-Krivoy Rog Soviet Republics; and in the south Nestor Makhno formed the Free Territory - an anarchist region - then allied his forces with the Bolsheviks. Aided by the earlier Kiev Arsenal Uprising, the Red Guards entered the capital on February 9, 1918. This forced the Central Rada to evacuate to Zhytomyr. In the meantime, the Romanians took over Bessarabia. Most remaining Russian Imperial Army units either allied with the Bolsheviks or joined the Ukrainian People's Army. A notable exception was Colonel Mikhail Drozdovsky, who marched his White Volunteer Army unit across the whole of Novorossiya to the River Don, defeating Makhno's forces in the process.