 After the Civil War ended in 1865, California continued to grow rapidly.Independent miners were displaced by large mining operations.Railroads began to be built, and both the railroad companies and the mining companies began to hire large numbers of laborers.