After the Prince of Windischgrätz's failure to suppress the revolutionary movements in the Hungarian Revolution of 1848, Ludwig van Welden was given the supreme command of the Austrian army in Hungary in April 1849. However, after the Hungarian conquest of Ofen in May, he was replaced by Julius Jacob von Haynau and returned to Vienna to resume his post as governor, having also been promoted to the second highest rank in the Austrian army, Feldzeugmeister.
