 In Peru, he reorganized the University of San Marcos.He also founded, in Cuzco, the Colegio del Príncipe for sons of the Indigenous nobility and the Colegio de San Francisco for sons of the conquistadors.He established the "Tribunal del Consulado", a special court and administrative body for commercial affairs in the viceroyalty.