But in 1821, Mexico won its independence from Spain and became California's new ruler.
Si kastaba ha ahaatee, 1821kii ayaa Meksiko xoriyada ka qaadatey boqortooyadii Isbayn, goortaasi oo Kaliforniya la jaanqaadey maamulkaasi cusub.