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 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