On 10 July 1807, the Serbian rebels under Đorđe Petrović (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 subsequently at war with 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. The Serbs chose alliance with the Russians over autonomy under the Ottomans (as set by the "Ičko's Peace"). Karađorđe was to receive arms, and military and medical missions, which proved to be a turning point in the Serbian Revolution.