He entered the Habsburg military in 1777, at the age of seventeen years, and was a member of the field army in the short War of the Bavarian Succession (1778–79).
Han meldte sig ind i det habsburgske militær i 1777 i en alder af sytten år og var i felten under den korte bayerske arvefølgekrig (1778-1779).