The first transcontinental railroad in the United States was completed in 1869, connecting the Central Pacific and Union Pacific lines with a golden spike. Railroad construction was dangerous, with thousands of workers, including many Chinese and Irish immigrants as well as Civil War veterans, suffering injuries, attacks, and over 2,000 deaths by 1888. The new railroad network divided the country into time zones and enabled goods to be shipped nationwide, spurring economic growth and specialization but also leading to calls for regulation against corporate abuses.