 In 1838 Prince Miloš Obrenović appointed him head of the Poreč-Rijeka district, and as early as 1839 he became assistant to the head person of the Krajina district.He was transferred to Zaječar in 1844 for an assistant to the mayor, and in 1848 he was appointed the chief of a district.Subsequently, he was transferred in 1852 to the mayor of the Čačak district, and in 1856 to the mayor of the fire district.