California became part of the United States in 1848. Soon after thousands of people migrated across the country to settle in California. this mass migration took place because