Obrenović dynasty
They came to power through the leadership of their progenitor Miloš Obrenović I in the Serbian Uprising of 1815–1817 against the Ottoman Empire , which led to the formation of the Principality of Serbia in 1817 . 
<triplet> Ottoman Empire <subj> Principality of Serbia <obj> replaced by <triplet> Principality of Serbia <subj> Ottoman Empire <obj> replaces