The best answer is that they were divided into large regions and governed by the Viceroy, so:
a. Large regions run by a viceroy appointed by the king.
Those regions were for example the viceroyalty of New Spain, the Viceroyalty of Peru and the Viceroyalty of Rio de la Plata