He became administrator of Serbian Vojvodina, and was head of the new Serb government ("praviteljstvo") of Vojvodina. Rajačić formed an alliance with the House of Habsburg after being promised autonomy for opposing the 1848 Hungarian Revolution. After the Hungarians were defeated, Rajačić was nominated civil commissioner of Vojvodina by the Austrian Empire.