Many of the civil engineers and surveyors who were hired by the Union Pacific had been employed during the American Civil War to repair and operate the over 2000 miles of railroad line the U.S. Military Railroad controlled by the end of the war.