In 1859, he took part in the disastrous Battle of Magenta, where the Austrian army was defeated by the Franco-Sardinian army. In 1860, he became commander of a regiment, and he was moved in 1866 to Bohemia. In 1867, he was promoted to General of Cavalry, remaining in office until 1878.