In 1822, California was notified of Mexico's independence from Spain and the Governor of California, the Junta, the military in Monterey and the priests and neophytes at Mission San Buenaventura swore allegiance to Mexico on April 11, 1822. California land that had been vested in the King of Spain was now owned by the nation of Mexico.