Leland Stanford, the railroad's president, had advocated for keeping Asians out of the state in his 1862 inaugural address as governor of California. When not enough white men signed up, the railroad began hiring Chinese men for the backbreaking labor. No women worked on the line.