Who built the transcontinental railroad?

The Union Pacific Railroad and The Central Pacific Railroad Companies were formed to build the railroad. Many of the CPR workers working east from California were Chinese-Americans and many of the UPR workers building west from Nebraska were Irish immigrants.