What attracted so many Americans to California in the late 1840s?
A the availability of inexpensive farmland
B the discovery of gold in the foothills of the Sierra Nevada
C employment building a transcontinental railroad
D increasing trade with China and Japan