حرب الاستقلال المكسيكية
The Mexican republic had gained independence from Spain during the Mexican War of Independence (1810-1821).