On December 22, 1574, when Viceroy Francisco de Toledo reorganized the Indian corregimientos created by Governor Lope García de Castro in 1565, he ordered that the Angaraes and Castrovirreyna corregimientos depended on the Spanish Corregimiento in Huamanga, both in the district of the Real Audiencia of Lima.
In 1581 the Corregimiento of Huancavelica was separated from that of Huamanga, lasting until 1585, to be separated again in 1601 as the Government of Huancavelica (Spanish: Gobierno de Huancavelica), whose governor was appointed by the king until 1604, the year in which he was appointed by the viceroy switching with that of Ica, the royal appointment of that of Castrovirreyna persisting since November 20, 1623.
[1] The corregimientos were suppressed in 1784 by King Charles III and replaced by the intendancies.
The first intendant of Huancavelica was the judge of the Audiencia of Lima Fernando Márquez de la Plata, who took office in 1784, appointed by the viceroy at the proposal of the visitor general Jorge Escobedo y Alarcón [es] and approved by the king on January 24, 1785.
It existed until April 26, 1822, when General José de San Martín created the Department of Huancavelica within the Protectorate of Peru.