In 1921 the Crimean Autonomous Soviet Socialist Republic was created. This republic was dissolved in 1945, and the Crimea became an oblast first of the Russian SSR (1945–1954) and then the Ukrainian SSR (1954–1991). From 1991 the territory was covered by the Autonomous Republic of Crimea and Sevastopol City within independent Ukraine. However, during the 2014 Crimean crisis, the peninsula was taken over by Russia and a referendum on whether to rejoin Russia was held. Shortly after the result in favour of joining Russia was announced, Crimea was annexed by the Russian Federation as two federal subjects: the Republic of Crimea and the federal city of Sevastopol.