The Mexican War of Independence (1810–1821) was an armed conflict between the people of Mexico and the Spanish colonial authorities which started on 16 September 1810. The Mexican War of Independence movement was led by Mexican-born Spaniards, Mestizos and Amerindians who sought independence from Spain. It started as an idealistic peasants' rebellion against their colonial masters, but finally ended as an unlikely alliance between Mexican ex-royalists and Mexican guerrilla insurgency.
It can be said that the struggle for Mexican independence dates back to the decades after the Spanish conquest of the Aztec Empire, when Martín Cortés, son of Hernán Cortés and La Malinche, led a revolt against the Spanish colonial government in order to eliminate privileges for the conquistadors.
After the abortive Conspiracy of the Machetes in 1799, the War of Independence led by the Mexican-born Spaniards became a reality. The movement for independence was far from gaining unanimous support among Mexicans, who became divided between independentists, autonomists and royalists. [Wiki]