After the Russian Revolution of 1917, several factions sought to create an independent Ukrainian state, alternately cooperating and struggling against each other. Numerous more or less socialist-oriented factions participated in the formation of the Ukrainian People's Republic (UPR) among which were Bolsheviks, Mensheviks, Socialists-Revolutionaries, and many others. The most popular faction was initially the local Socialist Revolutionary Party that composed the local government together with Federalists and Mensheviks. The Bolsheviks boycotted any government initiatives most of the time, instigating several armed riots in order to establish the Soviet power without any intent for consensus.