 He established the first Regulation of Commerce and Organization of Customs rules, which led to the building of the customshouse in Callao.He had the fortress of Real Felipe constructed in Callao, being finished in 1774.He founded the Royal College of San Carlos.