1991–1992 South Ossetia War allied with the Russian Bolsheviks, fighting a war against the newly independent Menshevik Georgia. Initially Georgia was successful, but in 1921, the Red Army conquered the country. South Ossetia became an autonomous oblast in the Soviet republic of Georgia. During the Soviet period, relations between ethnic Ossetians and Georgians were peaceful, with a high rate of interaction and intermarriages. In 1989, around 98,000 people lived in South Ossetia. Of these, 66.61% were Ossetian and 29.44% Georgian. Another 99,000 Ossetians lived throughout the rest of Georgia. At the end of 1991, with the collapse of the Soviet Union, Georgia became an
Russia–South Ossetia relations travelled to South Ossetia on 21 July 2009, where they attended the opening of two rural police stations, and attended the signing of an interagency agreement between the two countries prosecutorial agencies. On 7 August 2009, Dmitry Medvedev in an interview for the documentary "In August 2008..." stated that Russia would continue to develop bilateral ties with South Ossetia "regardless of whether somebody likes it or not." The Treaty of Friendship, Cooperation and Mutual Assistance which was signed in September 2008 came into force on 20 January 2009, and stipulates a Russian guarantee of military intervention in case South Ossetia