In 1873, Gould attempted to take control of the Erie Railroad by recruiting foreign investments from Lord Gordon-Gordon, supposedly a cousin of the wealthy Campbell clan who was buying land for immigrants. He bribed Gordon-Gordon with a million dollars in stock, but Gordon-Gordon was an impostor and cashed the stock immediately. Gould sued him, and the case went to trial in March 1873. In court, Gordon-Gordon gave the names of the Europeans whom he claimed to represent, and he was granted bail while the references were checked. He immediately fled to Canada, where he convinced authorities that the charges were false.
After being forced out of the Erie Railroad, Gould started to build up a system of railroads in the midwest and west. He took control of the Union Pacific in 1873 when its stock was depressed by the Panic of 1873, and he built a viable railroad that depended on shipments from farmers and ranchers. He immersed himself in every operational and financial detail of the Union Pacific system, building an encyclopedic knowledge and acting decisively to shape its destiny. Biographer Maury Klein states that "he revised its financial structure, waged its competitive struggles, captained its political battles, revamped its administration, formulated its rate policies, and promoted the development of resources along its lines."