Conversation so far:
What racial categories were there?
Mesoamerica, in reference to the cultural area where several complex civilizations developed before the arrival of the Spanish in the sixteenth century, and Aridoamerica (or simply "The North".
What racial influences are there?
Mesoamerica was densely populated by diverse indigenous ethnic groups which, although sharing common cultural characteristics, spoke different languages and developed unique civilizations.
Who did they gain independence from?
When Mexico gained independence in 1821, the casta system was eliminated as a legal structure.
What was the casta system?
This system gave more political and social power to Spaniards so that Indigenous people and blacks could be kept in lower positions.

Question: anything else?
Self-contained rewrite: What else did the casta system do besides give more political and social power to the Spaniards?