Viceroys in Spain's American empire acted as representatives of the Spanish crown, overseeing governance, administration, and military affairs in the colonies. They wielded considerable power and authority, often making key decisions on behalf of the monarchy.