He participated in the Battle of Vienna and Battle of Párkány, where he was taken prisoner by the Turks, but he managed to escape. He distinguished himself in the Battle of Mohács (1687), and became Generaladjutant of Charles V, Duke of Lorraine. At the age of 24 he had already reached the rank of Colonel and commanded his own regiment. With this regiment, he participated in all the great battles of the Great Turkish War.