The Treaty of Bucharest between the Ottoman Empire and the Russian Empire, was signed on 28 May 1812, in Manuc's Inn in Bucharest, and ratified on 5 July 1812, at the end of the Russo-Turkish War of 1806–1812. The Ottomans had done poorly in the war. The Sublime Porte above all wanted to stay out of the impending conflict between Napoleon's France and Russia. The Russians didn't want a war on two fronts, thus they made peace in order to be free for the upcoming war with France. The Ottomans had extricated themselves from a potentially disastrous war with a slight loss of territory. This treaty became the basis for future Russo-Ottoman relations. Background Russo-Turkish war of 1806 The war was fought between the Russian Empire and Ottoman Empire beginning in 1806. It happened at the same time as the Napoleonic Wars had been pushing across Europe. Sultan Selim III of the Ottoman empire was encouraged by the French Empire to remove multiple lords from their land in Wallachia and Moldavia. This was due to their Pro-Russian positions held in the Ottoman vassal states. During this, the French also moved into the Balkan Peninsula raising tensions with Russia. To protect their borders from potential French invasion Russia moved thousands of soldiers into Moldavia and Wallachia, which then caused the Sultan to declare war on Russia. Initially a large Ottoman offensive was sent to Bucharest, Wallachia which was occupied by Russians, but failed. In Armenia a few thousand Russian troops won against 20,000 of Turkish forces, and then Russia had a major naval victory defeating the Ottoman fleet. This naval victory, along with the other early victories led to Selim III being deposed. Russians then destroyed the Ottoman fleet for good to establish naval supremacy. In 1811, Grand Vizier Ahmed Pasha gathered 60,000 Turkish soldiers in Ottoman controlled Bulgaria. After a few months they attacked the Russians but were held off long enough for Russians to retreating across the Danube River. The Turkish chased after them but had been led into an ambush and were promptly surrounded. Shortly after these battles Russia decided it was time to make peace. Negotiations The negotiations took place in Bucharest and started on January 11, 1812. The Ottoman negotiators were Mehmed Said Galib Efendi, Reis Efendi, Muftuzade Ibrahim Selim Efendi, and Abdulhamid Efendi. The Russian plenipotentiaries were Andre Italinsky, Lieutenant-General Jean Sabaniev, Joseph Fontone and