The first constitution of Russia, which governed the Russian Socialist Federative Soviet Republic, described the regime that assumed power in the October Revolution of 1917. This constitution, which was ratified soon after the Declaration Of Rights Of The Working And Exploited People, formally recognized the working class as the ruling class of Russia according to the principle of the dictatorship of the proletariat, therein making the Russian SFSR the world's first constitutionally socialist state.