He completed his studies in 1847 and returned to Prague where he joined the 28th Infantry Regiment. In 1848, when the Revolutions began, his Regiment fought under the command of Field Marshal Radetzky at the Battle of Custova. Furthermore, he participated in the suppression of the revolution in Vienna and then in Hungary. For the bravery in the Battle of Kápolna received, 27. february 1849, Military Merit Cross.