1821 माइथायाव मेक्सिकवा उदांस्रि मोन्नाय समसिम बे ओनसोलखौ स्पेइना खुंदोंमोन आरो बिदिनो 1848 माइथायसिम मेक्सिकवाबो खुंदोंमोन ।
The region was ruled by Spain until Mexico won its independence in 1821 and then Mexico ruled it until 1848 .