The area remained under Spanish rule until 1821, when Mexico declared independence from Spain.
Deegaankaasi wuxu hoostegayay maamulka Isbaanishka ilaa sanadkii 1821kii, goortaasi oo Meksiko ku dhawaaqdey xoriyadeeda.