How did railroads affect western settlement in the late 1800s?

A. Railroads provided jobs and connected markets.

B. They had very little effect.

C. Railroads contributed to the discovery of minerals that brought settlers west.

D. Railroads transported virtually all of the settlers west.