Russia–South Ossetia relations the federal laws, as President of the Russian Federation it is my duty to protect the lives and dignity of Russian citizens wherever they may be." After five days of fighting, on 12 August French President Nicolas Sarkozy brokered a ceasefire agreement. Under the terms of the agreement, Russia agreed to withdraw from "security zones" in Georgia proper by 10 October. Russia completed the withdrawal on 8 October 2008. On 21 August 2008, the same day as a similar event in Abkhazia, a rally was held in Tskhinval at which the people of South Ossetia appealed to Russian President Dmitry
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