 When the Croatian "ban" and baron Josip Jelačić was taken ill, Josip Šokčević was appointed the deputy of the "ban" by the Emperor Franz Joseph I and sent to Zagreb.Latter he became the military commander of the Banatian headquarters in Timișoara.In the year 1860 he was exalted into the class of the Austrian baron, and was appointed as the governor of the Voivodeship of Serbia and Temes Banat.