During the 1848 Revolution, the Hungarians demanded independence from the Austrian Empire. However, they did not recognize the national rights of other nationalities which lived in the Habsburg Kingdom of Hungary in that time, so Serbs of Vojvodina took action to separate from the Kingdom of Hungary (which was at that time part of Habsburg Austria).