The between the Ottoman Empire and the Russian Empire, was signed on May 28, 1812 in Bucharest at the end of the Russo-Turkish War, 1806-1812. Under its terms, the Prut River became the border between the two empires, thus leaving Bessarabia under Russian rule. Also, Russia obtained trading rights on the Danube. A truce was signed with the rebelling Serbs and autonomy given to Serbia. The treaty, signed by the Russian commander Mikhail Kutuzov, was ratified by Alexander I of Russia just one day before Napoleon launched his invasion of Russia.