Conversation so far:
What racial categories were there in Colonial-era Mexico?
The Spanish legal system divided racial groups into two basic categories, the República de Españoles, and the República de Indios.
Who did the indigenous Mexican people gain independence from?
The insurgency against the Spanish Empire was a decade-long struggle ending in 1821.
What was the casta system in Mexico?
A casta is a term to describe mixed-race individuals in Spanish America.
Anything else about the casta system in Mexico?
This system gave more political and social power to Spaniards so that Indigenous people and blacks could be kept in lower positions.

Question: What else happened under the mexican government?
Self-contained rewrite: What else happened involving the casta system under the mexican government?