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 the first Russian Ambassador to South Ossetia, Elbrus Kargiyev, who presented his Letters of Credence to South Ossetian President Eduard Kokoity on 16 December 2008. Dmitry Medoyev, the Plenipotentiary Representative of the President of Republic of South Ossetia to Russia was appointed by Eduard Kokoity as South Ossetia's first ambassador to Russia on 13 January 2009. Medoyev presented his credentials to Russian President Dmitry Medvedev on 16 January 2009. Russian Prime Minister Vladimir Putin issued a directive to set up a Russian embassy in South Ossetia in 2009. Eduard Kokoity said during talks with Russian President Dmitry Medvedev that it