Serbian Grenzers), settled in Russia's military frontier region of New Serbia (with the centre in Novomirgorod, mainly in the territory of present-day Kirovohrad Oblast of Ukraine), as well as in Slavo-Serbia (now mainly the territory of the Luhansk Oblast of Ukraine). In 1764, both territorial entities were incorporated in Russia's Novorossiya Governorate. 19th century–1900s After the Ottoman Empire had allied itself with Napoleon in late 1806, and was attacked by Russia and Britain, it sought to meet the demands of the Serbian rebels under Karađorđe. Russian diplomat and agent Konstantin Rodofinikin initially proposed that Serbia becomes a protectorate of the Russian Empire and that Russian garrisons be stationed in Serbia as well as a high representative which would oversee the affairs in the country. Karađorđe refused the proposition claiming that it would turn Serbia into a Russian province. At the same time, the Russians offered the Serbs aid and cooperation. The Serbs accepted the Russians′ offer over autonomy under the Ottomans (as set by the "Ičko's Peace") and signed an alliance with the Russian Empire in July 1807: Karađorđe was to receive arms, and military and medical missions; nevertheless the terms of Russo-Turkish settlement agreed in May 1812 effectively provided for Turkish re-occupation of Serbia, and the First Serbian Uprising was definitively suppressed in October 1813. The Second Serbian Uprising (April 1815 – July 1817) achieved Serbian autonomy within the Ottoman Empire, which was internationally recognised through the Russo-Turkish Akkerman Convention (October 1826, solemnly announced in the cathedral in Kragujevac in the presence of Prince Miloš Obrenović) and the Treaty of Adrianople (September 1829). Serbia was thus put under Russian protection, although Russia was unable to exert control as it did in Wallachia and Moldavia, territories also dealt with in the Akkerman Convention. Serbian autonomy was briefly abolished by the Ottoman sultan in 1828, then re-granted in 1829. Russian protection was recognized until abolition thereof in 1856, after the Russian defeat in the Crimean War. In February 1838, in his residence in Kragujevac Prince Miloš Obrenović received the first Russian consul, Gerasim Vashchenko. In June 1876, Serbia, along with the Principality of Montenegro, declared independence and war on the Ottoman Empire. The war eventually ended with Serbian victory in March 1878, while Russia had been involved in its own war with Turkey (April 1877 – March 1878), with the final settlement of both wars decided by the great powers at