In 1812, through the Treaty of Bucharest, the Ottoman Empire and Russia also agreed to make peace, just as Russia was anxious to liberate this southern front in anticipation of Napoleon's Invasion of Russia, with Russia keeping Bessarabia and the Ottomans regaining Wallachia and Moldavia.