B) Chinese immigrants
The eastward branch of the Transcontinental Railroad was largely built by Chinese immigrants, particularly working for the Central Pacific Railroad. They played a significant role in the construction of the railroad, especially in the challenging terrain of the Sierra Nevada.