Viceroyalties were instiutions created by the Spanish monarchy to incorporate the colonized lands in America in the administration engines of the Empire. A viceroyalty was ruled by viceroy, a direct subordinates of the King, and was considered a province within the Empire and not a colony anymore.
The two viceroyalties existing in America prior to 1717 were: