The boundary became an international frontier in 1991 following the dissolution of the Soviet Union and the independence of its constituent republics. However fighting broke between Georgia and the autonomous regions of Abkhazia and South Ossetia, resulting in the de facto independence of both. Georgia and Russia began work on delimiting their border in 1993. In 2008 Georgia attempted to restore its control over South Ossetia, sparking a war with Russia, following which Russia recognised the independence of both South Ossetia and Abkhazia. As a result all border discussions with Georgia were ended, however the Abkhaz and Russian authorities have continued work on that section of the border. From the Russian, Abkhaz and Ossetian point of view the Georgia–Russia border has now become much shorter (from 694 to 365 km), and is separated into two portions, a western one between Abkhazia and South Ossetia and an eastern one between South Ossetia and Azerbaijan. From the Georgian perspective, the Russian–Georgian border did not change after the collapse of the Soviet Union, and both self-declared republics are illegal entities occupying Georgian territory.