What is a Viceroy?

A viceroy runs a country while the king or emperor is away. A female viceroy is called a vicereine. A vicereine is also what the viceroy’s wife would be called.