Russia–South Ossetia relations the Kremlin, which would see Russian Border Guards patrolling and securing the South Ossetian borders, until such time as the South Ossetian government had set up its own service. President Medvedev made a working visit to Tskhinval on 13 July 2009, becoming the first Russian leader to visit South Ossetia. The visit, which was criticised by Georgia, saw Medvedev confirming that Russia would increase contacts with South Ossetia and would implement numerous projects to assist in the rebuilding effort in the Republic. Following Medvedev's visit, Prosecutor General Yury Chaika, Emergencies Minister Sergey Shoygu and Minister of Internal Affairs Rashid Nurgaliyev
Russia–South Ossetia relations on the night of 7 to 8 August 2008, the Georgian military launched an offensive on Tskhinval, the South Ossetian capital. The leader of Georgian peacekeepers in South Ossetia said the purpose was to "restore constitutional order" in the region. The majority of the inhabitants of South Ossetia hold Russian citizenship, and Russia citing Chapter VII Article 51 of the United Nations Charter sent troops into South Ossetia through the Roki Tunnel in the morning of 8 August. Russian President Dmitry Medvedev, in noting the deaths of Russian peacekeepers and South Ossetian civilians, stated: "In accordance with the Constitution and