 In September 1763, after the dismissal of Ricardo Wall he was named Spanish Minister of State, a position he held until 1776.He was a reformer, a member of the group known as "golillas".Together with the Leopoldo de Gregorio, Marquis of Esquilache he helped suppress the 1766 riots provoked by Esquilache's reforms.