 He stimulated the economy, industry and the arts, and greatly assisted the Royal Botanical Expedition of 1783, under José Celestino Mutis.In 1782 and 1783 he had to deal with an epidemic of smallpox.In 1783 the interim character of his appointment was removed, and he became viceroy in his own right.