South Ossetia 1991. As a result of the war, about 100,000 ethnic Ossetians fled the territory and Georgia proper, most across the border into North Ossetia. A further 23,000 ethnic Georgians fled South Ossetia to other parts of Georgia. Many South Ossetians were resettled in uninhabited areas of North Ossetia from which the Ingush had been expelled by Stalin in 1944, leading to conflicts between Ossetians and Ingush over the right of residence in former Ingush territory. On 29 April 1991, the western part of South Ossetia was affected by an earthquake, which killed 200 and left 300 families homeless. In late
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