 Castelli set up his government in Chuquisaca, where he presided over the change of regime for the entire region.He planned the reorganization of the Mines of Potosi, and a reform at the University of Charcas.He proclaimed the end of native slavery and servitude in Upper Peru, and the natives were granted political rights equal to those of the criollos.