1991–1992 South Ossetia War place around the city in the nearby villages and along the road to North Ossetia. In spring 1992 the fighting escalated again, with sporadic Russian involvement. However, in March 1992, Gamsakhurdia was ousted and replaced by Eduard Shevardnadze. Soon after, Gamsakhurdia loyalists staged an armed rebellion. Furthermore, the conflict with Georgia's other, bigger, separatist region Abkhazia, escalated into a war in 1992. As a result, Shevardnadze had an interest in ending the conflict in South Ossetia and signed the Russian-brokered Sochi agreement. The ceasefire agreement left South Ossetia divided into areas controlled by Georgia and areas controlled by the unrecognised
Russia–South Ossetia relations would become part of Russia within "several years", but later retracted the comments in an interview with Interfax and stated that he may have been misunderstood, and that South Ossetia would not give up its independence. Russian Minister of Foreign Affairs Sergey Lavrov, whilst in Warsaw, denied that South Ossetia would join the Russian Federation. Lavrov's position was also mirrored in August 2009 by Dmitry Medoyev, who stated that "South Ossetia will be building an independent state". On 17 September 2008, Russia and South Ossetia signed a treaty of Friendship, Cooperation and Mutual Assistance at the Kremlin in Moscow. According