In 1765, he was promoted to Brigadier des Armées navales. He commanded the squadron of the French conquest of Corsica in 1768, and directed the French bombardment of Tunisia in 1770, with his flag on "Provence". On 14 November 1770, he signed a peace treaty with Ali II ibn Hussein, in an effort to settle the question of the Barbary pirates.