During the revolution of 1848–49, the Slovaks supported the Austrian Emperor, hoping for independence from the Hungarian part of the Dual Monarchy, but they failed to achieve their aim. Thereafter relations between the nationalities deteriorated (see Magyarization), culminating in the secession of Slovakia from Hungary after World War I.