 On 10 July 1807, the Serbian rebels under Karađorđe signed an alliance with the Russian Empire during the First Serbian Uprising.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.At the same time, the Russians offered the Serbs aid and cooperation.