As a reaction to the Revolutions of 1848, Ferdinand V signed the so-called April laws, which included the abolition of serfdom, at the Primate's Palace. The city chose the revolutionary Hungarian side, but was captured by the Austrians in December 1848.