The Spanish Empire in the Americas was divided into two provinces, New Spain and Peru, each ruled by a viceroy appointed by the King of Spain. The population consisted of Spanish people in positions of authority, Creoles who were Spanish born in the colonies, mixed-race Mestizos, Native Americans used for labor without rights, and African slaves brought by ship. Labor systems included the Encomienda granting Native American labor, haciendas that supplied food, and plantations growing cash crops like sugar, coffee, and tobacco for export.