The political system of the Soviet Union took place in a federal single-party soviet socialist republic framework which was characterized by the superior role of the Communist Party of the Soviet Union (CPSU), the only party permitted by the Constitution. Background The Bolsheviks who took power during the October Revolution, the final phase of the Russian Revolution, were the first communist party to take power and attempt to apply the Leninist variant of Marxism in a practical way. Although they grew very quickly during the Revolution from 24,000 to 100,000 members and got 25% of the votes for the Constituent Assembly in November 1917, the Bolsheviks were a minority party when they took power by force in Petrograd and Moscow. Their advantages were discipline and a platform supporting the movement of workers, peasants, soldiers and sailors who had seized factories, organized soviets, appropriated the lands of the aristocracy and other large landholders, deserted from the army and mutinied against the navy during the Revolution. Karl Marx made no detailed proposals for the structure of a socialist or communist government and society other than the replacement of capitalism with socialism and eventually communism by the victorious working class. Vladimir Lenin, the leader of the Bolsheviks, had developed the theory that a communist party should serve as the vanguard of the proletariat and ruling in their name and interest, but like Marx had not developed a detailed economic or political program. The new communist government of the Soviet Union faced alarming problems, such as extending practical control beyond the major cities, combatting counter-revolution and opposing political parties, coping with the continuing war and setting up a new economic and political system. Despite their relative discipline, the Bolsheviks were not of one mind, the party being a coalition of committed revolutionaries, but with somewhat differing views as to what was practical and proper. These diverging tendencies resulted in debates within the party over the next decade, followed by a period of consolidation of the party as definite programs were adopted. Legislative branch Congress of Soviets (1922–1936) and the Supreme Soviet (1936–1989) The Congress of Soviets was the supreme organ of power in accordance with Article 8 of the 1924 Soviet Constitution. The Congress was replaced in the 1936 Soviet Constitution by the Supreme Soviet of the Soviet Union. In accordance with Article 30, it functioned as the highest state authority and the only