South Ossetia had ended. The war displaced 192,000 people, and while many were able to return to their homes after the war, a year later around 30,000 ethnic Georgians remained displaced. In an interview published in "Kommersant", South Ossetian leader Eduard Kokoity said he would not allow Georgians to return. President of France Nicolas Sarkozy negotiated a ceasefire agreement on 12 August 2008. On 17 August, Russian president Dmitry Medvedev announced that Russian forces would begin to pull out of Georgia the following day. Russia recognised Abkhazia and South Ossetia as separate republics on 26 August. In response to Russia's recognition, the
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