After the Independence of Mexico in 1821, the city became the seat of a municipality, and both the name of the city and the municipality became Oaxaca, changed from Antequera.
Da bi preprečili nesoglasja, je kralj Antequero povzdignil v status mesta, mu dal določene pravice, privilegije in izjeme.