Ukrainian Soviet Socialist Republic was legally represented by Stalin.
In July 1918, the former members of the government formed the Communist Party (Bolsheviks) of Ukraine, the constituent assembly of which took place in Moscow
Originally, the legislative authority was vested in the Congress of Soviets of Ukraine, whose Central Executive Committee was for many years headed by Grigory Petrovsky

