[1] On his death in 1788, his titles passed to his great-nephew Don José Maria de Guirior and Larrea.
The original collection of the library consisted of books expropriated from the Jesuit community, which had been expelled from all dominions of the Spanish Empire by order of King Charles III of Spain in 1767.
He assisted the scientific expedition of Hipólito Ruiz López, José Antonio Pavón and Joseph Dombey, sent to study the flora of the viceroyalty.
Again a major concern was stimulating the economy, which he did by adopting liberal measures in agriculture, mining, commerce and industry.
He created two new chairs at the university, improved the medical care at ten hospitals in Lima and established a foundling home.
In June 1777 José Antonio de Areche arrived in Lima as visitador (inspector) from the Crown.