In his youth, he fought in the Battle of the Dunes (1658) against the Spanish. In 1661 he joined the French navy and distinguished himself in the conquest of Jijel under François de Vendôme, duc de Beaufort (23 July 1664).