Russian Soviet Federative Socialist Republic replaces Russian Socialist Federative Soviet Republic
The Russian Soviet Federative Socialist Republic (Russian SFSR or RSFSR; Russian: Российская Советская Федеративная Социалистическая Республика, romanized: Rossiyskaya Sovetskaya Federativnaya Sotsialisticheskaya Respublika, IPA: [rɐˈsʲijskəjə sɐˈvʲetskəjə fʲɪdʲɪrɐˈtʲivnəjə sətsɨəlʲɪˈsʲtʲitɕɪskəjə rʲɪˈspublʲɪkə] (listen)), previously known as the Russian Soviet Republic, and the Russian Socialist Federative Soviet Republic, as well as being unofficially referred to as Soviet Russia, the Russian Federation, or simply Russia, was an independent federal socialist state from 1917 to 1922, and afterwards the largest and most populous Soviet socialist republic of the Soviet Union (USSR) from 1922 to 1991, until becoming a sovereign part of the Soviet Union with priority of Russian laws over Union-level legislation in 1990 and 1991, the last two years of the existence of the USSR. The Russian SFSR was composed of sixteen smaller constituent units of autonomous republics, five autonomous oblasts, ten autonomous okrugs, six krais and forty oblasts. Russians formed the largest ethnic group. The capital of the Russian SFSR and the USSR as a whole was Moscow and the other major urban centers included Leningrad, Stalingrad, Novosibirsk, Sverdlovsk, Gorky and Kuybyshev. It was the first Marxist-Leninist state in the world.
The economy of Russia became heavily industrialized, accounting for about two-thirds of the electricity produced in the USSR. By 1961, it was the third largest producer of petroleum due to new discoveries in the Volga-Urals region and Siberia, trailing in production to only the United States and Saudi Arabia. In 1974, there were 475 institutes of higher education in the republic providing education in 47 languages to some 23,941,000 students. A network of territorially organized public-health services provided health care. After 1985, the "perestroika" restructuring policies of the Gorbachev administration relatively liberalised the economy, which had become stagnant since the late 1970s under General Secretary Leonid Brezhnev, with the introduction of non-state owned enterprises such as cooperatives.
On 7 November 1917 [O.S. 25 October], as a result of the October Revolution, the Russian Soviet Republic was proclaimed as a sovereign state and the world's first constitutionally socialist state guided by communist ideology. The first constitution was adopted in 1918. In 1922, the Russian SFSR signed a treaty officially creating the USSR. The Russian SFSR's 1978 constitution stated that "[a] Union Republic is a sovereign [...] state that has united [...] in the Union" and "each Union Republic shall retain the right freely to secede from the USSR". On 12 June 1990, the Congress of People's Deputies adopted the Declaration of State Sovereignty, established separation of powers (unlike in the Soviet form of government), established citizenship of Russia and stated that the RSFSR shall retain the right of free secession from the USSR. On 12 June 1991, Boris Yeltsin (1931–2007), supported by the Democratic Russia pro-reform movement, was elected the first and only President of the RSFSR, a post that would later become the Presidency of the Russian Federation.
The August 1991 Soviet coup d'état attempt in Moscow with the temporary brief internment of President Mikhail Gorbachev destabilised the Soviet Union. Following these events, Gorbachev lost all his remaining power, with Yeltsin superseding him as the pre-eminent figure in the country. On 8 December 1991, the heads of Russia, Ukraine and Belarus signed the Belovezha Accords. The agreement declared dissolution of the USSR by its original founding states (i.e., renunciation of the 1922 Treaty on the Creation of the USSR) and established the Commonwealth of Independent States (CIS) as a loose replacement confederation. On 12 December, the agreement was ratified by the Supreme Soviet (the parliament of the Russian SFSR); therefore the Russian SFSR had renounced the Treaty on the Creation of the USSR and de facto declared Russia's independence from the USSR itself and the ties with the other Soviet republics.
On 25 December 1991, following the resignation of Gorbachev as President of the Soviet Union (and former General Secretary of the Communist Party of the Soviet Union), the Russian SFSR was renamed the Russian Federation. The next day, after the lowering of the Soviet flag from the top of the Senate building of the Moscow Kremlin and its replacement by the Russian flag, the USSR was self-dissolved by the Soviet of the Republics on 26 December, which by that time was the only functioning parliamentary chamber of the All-Union Supreme Soviet (the other house, Soviet of the Union, had already lost the quorum after recall of its members by the several union republics). After the dissolution, Russia took full responsibility for all the rights and obligations of the USSR under the Charter of the United Nations, including the financial obligations. As such, Russia assumed the Soviet Union's UN membership and permanent membership on the Security Council, nuclear stockpile and the control over the armed forces; Soviet embassies abroad became Russian embassies.The 1978 constitution of the Russian SFSR was amended several times to reflect the transition to democracy, private property and market economy. The new Russian constitution, coming into effect on 25 December 1993 after a constitutional crisis, completely abolished the Soviet form of government and replaced it with a semi-presidential system.1930s
Many regions in Russia were affected by the Soviet famine of 1932–1933: Volga, Central Black Soil Region, North Caucasus, the Urals, the Crimea, part of Western Siberia, and the Kazakh ASSR. With the adoption of the 1936 Soviet Constitution on 5 December 1936, the size of the RSFSR was significantly reduced. The Kazakh ASSR and Kirghiz ASSR were transformed into the Kazakh SSR (now Kazakhstan) and Kirghiz Soviet Socialist Republic (Kyrgyzstan). The former Karakalpak Autonomous Socialist Soviet Republic was transferred to the Uzbek Soviet Socialist Republic (Uzbekistan).
The final name for the republic during the Soviet era was adopted by the Russian Constitution of 1937, which renamed it the Russian Soviet Federative Socialist Republic (RSFSR).On 17 March 1991, an all-Russian referendum created the post of President of the RSFSR and on 12 June, Boris Yeltsin was elected President by popular vote.
During the unsuccessful 1991 Soviet coup d'état attempt of 19–21 August 1991 in Moscow, the capital of the Soviet Union and Russia, Yeltsin strongly supported the President of the Soviet Union, Mikhail Gorbachev. On 23 August, Yeltsin, in the presence of Gorbachev, signed a decree suspending all activity by the Communist Party of the Russian SFSR in the territory of Russia. On 6 November, he went further, banning the Communist Parties of the USSR and the RSFSR in the RSFSR.On 8 December 1991, at Viskuli near Brest (Belarus), Yeltsin, Ukrainian President Leonid Kravchuk and Belarusian leader Stanislav Shushkevich signed the "Agreement on the Establishment of the Commonwealth of Independent States", known in media as the Belovezh Accords. The document, consisting of a preamble and fourteen articles, stated that the Soviet Union no longer existed "as a subject of international law and geopolitical reality". However, based on the historical community of peoples and relations between the three states, as well as bilateral treaties, the desire for a democratic rule of law, the intention to develop their relations based on mutual recognition and respect for state sovereignty, the parties agreed to the formation of the Commonwealth of Independent States. On 12 December, the agreement was ratified by the Supreme Soviet of the Russian SFSR by an overwhelming majority: 188 votes for, 6 against and 7 abstentions. The legality of this ratification raised doubts among some members of the Russian parliament, since according to the Constitution of the RSFSR of 1978 consideration of this document was in the exclusive jurisdiction of the Congress of People's Deputies of the RSFSR. However, by this time the Soviet government had been rendered more or less impotent, and was in no position to object. On the same day, the Supreme Soviet of the Russian SFSR denounced the Treaty on the Creation of the USSR and recalled all Russian deputies from the Supreme Soviet of the Soviet Union. A number of lawyers believe that the denunciation of the union treaty was meaningless since it became invalid in 1924 with the adoption of the first constitution of the USSR. Although the 12 December vote is sometimes reckoned as the moment that the RSFSR seceded from the collapsing Soviet Union, this is not the case. It appears that the RSFSR took the line that it did not need to follow the secession process delineated in the Soviet Constitution because it was not possible to secede from a country that no longer existed.
On 24 December, Yeltsin informed the Secretary-General of the United Nations that by agreement of the member states of the CIS the Russian Federation would assume the membership of the Soviet Union in all UN organs (including the Soviet Union's permanent seat on the UN Security Council). Russia took full responsibility for all the rights and obligations of the USSR under the Charter of the United Nations, including the financial obligations, and assumed control over its nuclear stockpile and the armed forces; Soviet embassies abroad became Russian embassies. On 25 December – just hours after Gorbachev resigned as president of the Soviet Union – the Russian SFSR was renamed the Russian Federation (Russia), reflecting that it was now a sovereign state with Yeltsin assuming the Presidency. That same night, the Soviet flag was lowered and replaced with the tricolor. The Soviet Union officially ceased to exist the next day. The change was originally published on 6 January 1992 (Rossiyskaya Gazeta). According to law, during 1992, it was allowed to use the old name of the RSFSR for official business (forms, seals, and stamps).
On 21 April 1992, the Congress of People's Deputies of Russia approved the renaming of the RSFSR into the Russian Federation, by making appropriate amendments to the Constitution, which entered into force 
since publication on 16 May 1992.
succeeds supersedes substitutes takes over fills in for