During the French Revolutionary Wars, he fought with distinction again for the First Coalition, particularly at Ketsch and Frœschwiller, and in 1796 at Emmendingen, Schliengen and Kehl. He was stationed at key points to protect the movements of the Austrian army. With a force of 10,000, he defended the German Rhineland at Kehl, and reversed a bayonet assault by French troops at Bellheim; his troops also overran Speyer without any losses. By the end of the War of the First Coalition, at the age of 35, he had achieved the rank of Field Marshal. During the War of the Second Coalition, he fought in the first two battles of the German campaign, at Ostrach on 21 March 1799, and at Stockach on 25 March 1799. At the latter action while leading a regiment of grenadiers, he was hit by French case shot and knocked off his horse. He died shortly afterward.