)He was a member of the "junta" that voted for the suppression of the Jesuits in 1767.In 1776, after various conflicts, particularly the defeat of the 1775 expedition to Algiers, he was removed from office and made ambassador in Rome.