[["Mexico officially gained independence from Spain on September 28, 1821.", 170.0], ["Mexico declared independence from Spain on September 16, 1810. The declaration of independence led to the Mexican War for Independence that lasted for 11 years. On August 24, 1821, Spain accepted the independence of Mexico by agreeing to the terms of the Treaty of C\u00f3rdoba.", 154.0]]
when did mexico get independence from spain
history,scotland