 During the 1848–1849 revolution he served as the supreme commander of the armies in Križevci County, securing the defense on the river of Drava and in Međimurje, and publishing reports from the front lines in "Slavenski jug".In 1849–1854 he served as the president of the Regional Court in Križevci, until his forced retirement due to his opposition to the introduction of German language as the official language.After the fall of Bach's absolutism, in 1860 he served in Ban's Conference, and in 1861–1867 as the Great Župan of the Križevci County.