How did railroads influence the growth of western territories?. . A. The ability to bring in goods deterred industrial development.. . B. Railroads spurred the foundation and expansion of towns along the western rail route.. . C. Towns at the ends of railroad lines became ghost towns when the lines were extended.. . D. Settlers moved away from Native American lands to follow the railroad routes.. .