He won great distinction in the Battle of Pákozd (29 September 1848) and the Battle of Schwechat (30 October) and after the Battle of Kapolna (26 and 27 February 1849) was made a general.