The viceroy was the administrative figure during the Spanish presence in America responsible for administering and governing, on behalf of the Spanish crown, a country or a province.
In each kingdom, the figure of the viceroy was instituted, as well as a series of reforms imposing royal power over the nobility and the clergy. The term was very important, the historical periods corresponding to them are known as "The Viceroyalty".