During the Russian February Revolution of 1917 the power in city was controlled by a council (soviet) of workers' deputies which was dominated by the Russian Social Democratic Labour Party and the head of the city council became a future Ukrainian Communist leader Yuriy Lapchynskyi. During the Ukrainian–Soviet War, on 26 January 1918 the Russian Bolshevik troops secured the city, however already in February of the same year they had to withdraw due to the treaty of Brest-Litovsk and advance of German and Ukrainian armies. Following the World War I hostilities between the Bolshevik Russia and Ukraine renewed and on 1 February 1919 the Russian Red Army once again secured the city. However, in May of the same year Kremechuk was engulfed in the insurgency of Otaman Grigoriev who earlier sided with Bolsheviks and drove the international force of Triple Entante from Odessa. From July to December 1919 the city was occupied by the Russian "White Guard" troops of Anton Denikin. Following their withdrawal, the Denikin's troops blew up the railroad bridge.