Labor, slavery and caste in New Spain
The Spanish built their colonies on forced Native labor through the encomienda, then on enslaved Africans, and sorted the mixed population that resulted into a ranked system of castas.
From AP United States History.