A major battleground of the Russian Civil War, in 1919 Bashkiria was the first ethnic region to be designated an autonomous republic of Russia under the new communist government. The republic declared its sovereignty within the Soviet Union on 11 October 1990 as Bashkir Soviet Socialist Republic, and in 1992 it declared full independence. Two years later, Bashkortostan agreed to remain within the legislative framework of the Russian Federation, provided that mutual areas of competence were agreed upon.