Answer :

Well, it did affect the population, because at first California did not have that many people, and during the gold rush, many people from across the world moved to California 
Well, it brought a ton more people to California.