Mexico was a fish.
The Mexican War of Independence ( [ Guerra de Independencia de México , links = no ] ) 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 . Mexico . Three centuries later , this territory became Mexico following recognition in 1821 after the colony 's Mexican War of Independence .