Treaty of Lunéville
In 1796, he joined the Austrian army. He took part in the campaigns of 1798, 1799 and 1800. After the Treaty of Lunéville, he was stationed in Lviv. In 1805, he was promoted, first to Lieutenant colonel, then to colonel and was appointed commander of the Infantry Regiment No. 2 "Archduke Ferdinand".