In 1793, he joined the Austrian Army, becoming Colonel in 1807, and Chief of Staff of the Army corps of Archduke Johann of Austria in 1809. In 1813, he led the campaign against Viceroy Eugène de Beauharnais, separating French units in Dalmatia and simultaneously joining the English fleet, thus conquering Croatia, Istria and the Po valley. In 1815, during the Neapolitan War, he commanded the right wing of the Austrian Army in Italy, liberated Rome, and defeated Joachim Murat at the Battle of Ceprano and the Battle of San Germano.