발렌시아 주
In 1763 he was appointed captain general of the Province of Valencia. When the Esquilache Riots happened he was appointed captain general of New Castile and president of the Council of Castile. As he enjoyed the personal confidence of the king, his power was similar to a prime minister's. He promoted many enlightened reforms and he supported the expulsion of the Jesuits in 1767. His political and courtier enemies, especially Floridablanca, managed to achieve his dismissal. He was appointed ambassador to France in 1773, where he stayed till 1787.