 Charles III named him ambassador to Paris, where together with French Secretary of State Étienne François, duc de Choiseul he negotiated the third Family Compact between France and Spain.This provoked the entry of Spain into the war with Britain.He also signed the Peace of Paris in 1763.