Answer
The Spanish colonial rulers developed a caste system that classified people based on their race and ancestry. The system consisted of four main categories: Peninsulares (people born in Spain), Criollos (people of Spanish descent born in the colonies), Mestizos (people of mixed Spanish and indigenous ancestry), and Indigenous people. The system was designed to maintain social and economic control over the colonies and to reinforce the superiority of the Spanish ruling class.