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 formally integrated into the Russian economy by treaty in March 2015. After being instructed by Russian Prime Minister Vladimir Putin, in March 2009, Russia allocated 2.8 billion rubles from the Russian federal budget, as part of agreements between the Russian Ministry of Finance and its South Ossetian counterpart, which were based on the treaty signed in September 2008. Russia also allocated an additional 8.5 billion rubles to South Ossetia in order to assist in rebuilding housing, social amenities and utilities which were destroyed or damaged during the 2008 war. According to Eduard Kokoity, seventy percent of residential housing and eighty