The Treaty of Guadalupe Hidalgo made citizens of the Mexicans inside the new line. California then governed in Spanish for thirty years.