In 1704 he became commander of the Grave region. In 1705 and 1706 he commanded the Meuse region. For his services in 1706 he was elevated by Emperor Joseph I to the rank of count. In 1708 he fought at Oudenarde and in 1709 at Malplaquet.