Question: who did mexico win its independence from in 1821
Answer: The Mexican War of Independence ( Spanish : Guerra de Independencia de México ) was an armed conflict , and the culmination of a political and social process which ended the rule of Spain in 1821 in the territory of New Spain .