Question: Why did San Diego lose its pueblo status in 1838?

Is "In 1821, Mexico won its independence from Spain, and San Diego became part of the Mexican territory of Alta California." the correct answer?
no