, 1876–78 The
meeting in
Takovo proclaimed open revolt against the Ottoman Empire on 23 April 1815. Miloš Obrenović was chosen as the leader and famously spoke, "Evo mene, evo vas. Rat Turcima!" ("Here I am, here you are. War to the Turks!"). When the Ottomans discovered the new revolt they sentenced all of its leaders to death. The Serbs fought in battles at Rudnik,
Ljubić,
Palež, Valjevo, Čačak, Karanovac,
Požarevac, Kragujevac, Jagodina, and Dublje and drove the Ottomans out of the
Pashalik of Belgrade. In mid-1815, the first negotiations began between Miloš Obrenović and
Marashli Ali Pasha, the
Ottoman governor. Miloš Obrenović got a form of partial autonomy for Serbs, and, in 1816, the Turkish
Porte signed several documents for the normalization of relations between Serbs and Turks. The result was the acknowledgment of the
Principality of Serbia by the Ottoman Empire. Miloš Obrenović received the title of
Prince of Serbia. Although the principality paid a yearly tax to the Porte and had a garrison of Ottoman troops in Belgrade until 1867, it was, in most other matters, an independent state. Under the grandson of Miloš's brother,
Milan,
Serbia gained formal independence in 1878 under the
Treaty of Berlin. In 1817, Miloš Obrenović succeeded in forcing Marashli Ali Pasha to negotiate an unwritten agreement, an act which effectively ended the Second Serbian uprising. The same year, Karađorđe, the leader of the First Uprising, returned to Serbia and was assassinated on the orders of Obrenović. ==Aftermath==