Two major Hungarian rebellions were the Rákóczi's War of Independence in the early 18th century and the Hungarian Revolution of 1848 and marked important shifts in the evolution of the polity. The kingdom became a dual monarchy in 1867, known as Austria-Hungary.