Answer:
criollos and peninsulares
Explanation:
During the Spanish ruling in Mexico, the population was very segregated, mostly on ethnic base, or on place of birth. This created lot of tensions, as the Spanish born in Spain, called peninsulares, where the ones on top of the hierarchy as they were considered to be superior, while the Spanish born in the Americas, called criollos, were considered as inferior and were lower in the hierarchy. This gradually led to big displeasure, especially because the criollos were treated badly, so the people started to gear up for revolution in order to gain independence and kick out the Spanish. The moment was right once Spain got attacked by France on European soil, so its military was focused in defending the homeland. The criollos and the other ethnic groups organized and attacked, being able to overcome the weakened Spanish forces and gain independence.