He obtained high military posts through his wife's influence. He played a role in defeating the Spaniards at the battle of the Dunes in 1658. He took part in the campaigns at Flanders (1667), Franche-Comté (1668) and Holland (1672); and was present as ambassador extraordinary of France at the coronation of Charles II of England.