The Serbian Revolution of 1804 started with the First Serbian Uprising against the Ottoman occupation of Serbia. The victories in the battles of Ivankovac (1805), Mišar (August 1806), Deligrad (December 1806) and Belgrade (November–December 1806), led to the establishment of the Principality of Serbia in 1817. The subsequent Second Serbian Uprising of 1815–1817 led to full independence and recognition of the Kingdom of Serbia and weakened the Ottoman dominance in the Balkans. In November 1885 the Serbo-Bulgarian War occurred following Bulgarian unification and resulted in a Bulgarian victory. In 1912 the First Balkan War (1912–1913) erupted between the Ottoman Empire and the Balkan League (Serbia, Greece, Montenegro and Bulgaria). Balkan League victories in the Battle of Kumanovo (October 1912), the Battle of Prilep (November 1912), the Battle of Monastir (November 1912), the Battle of Adrianople (November 1912 to March 1913), and the Siege of Scutari (October 1912 to April 1913) resulted in the defeat of the Ottoman Empire, which lost most of its remaining Balkan territories per the Treaty of London (May 1913). Shortly after, the Second Balkan War (June to August, 1913) broke out when Bulgaria, dissatisfied with the division of territory, declared war against its former allies, Serbia and Greece. Following a string of defeats, Bulgaria requested an armistice and signed the 1913 Treaty of Bucharest, formally ending the war.