 On 6 October 1823 Prince Miloš Obrenović appointed Bobovac the President of the People's Court in Kragujevac (Deed No.1932) and then president of the Belgrade People's Court (after "knez" Milosav Zdravković), at which position he remained until 1828, when he was made commander of the Serbian Army on the Drina sent to prevent the surge of Ottoman Bosnians into Mačva.After the liberation of Serbia marked by the first "Hatt-i humayun" in 1830, Prince Miloš's priority became to settle the Drina Valley with Serb population.