He was elected to the constitutional parliament in 1876 as a senator, though he retained his position in the army and dealt with several riots in Serbia in 1877.
他於1876年當選為憲法議會議員，儘管他在軍隊中保持了自己的地位，並且在1877年處理了塞爾維亞的一些騷亂。