Where did mexico gain independence?

At Mexico City, when the army of the three guarantees entered the city on September 27, 1821 thus consolidating the independence from Spain.