 Next year, Kutuzov became commander of the fortress, but he had to leave this position soon after.According to the agreement between the Russia and Ottoman Empire the river Dniester was their border.The Ottoman period of Belgorod ended in 1812, following the Russian-Turkish war of 1806-1812, when Russia took the eastern part of the Principality of Moldavia, between the Prut and Dniester rivers.