Rather than turn its survey southward at Dodge City, AT&SF headed southwest over Raton Pass because of coal deposits near Trinidad, Colorado, and Raton, New Mexico. The Denver & Rio Grande Railroad (D&RG) was also aiming at Raton Pass, but AT&SF crews arose early one morning in 1878 and were hard at work with picks and shovels when the D&RG crews showed up for breakfast. At the same time the two railroads had a series of skirmishes over occupancy of the Royal Gorge west of Cañon City, Colorado; physical confrontations led to two years of armed conflict that became known as the Royal Gorge Railroad War. Federal intervention prompted an out-of-court settlement on February 2, 1880, in the form of the so-called "Treaty of Boston", wherein the D&RG was allowed to complete its line and lease it for use by the Santa Fe. D&RG paid an estimated $1.4 million to Santa Fe for its work within the Gorge and agreed not to extend its line to Santa Fe, while the Santa Fe agreed to forego its planned routes to Denver and Leadville.