Panama Canal Railway
The Panama Railway also operated a significant shipping line, connecting its service with New York and San Francisco. It ran a Central American line of steamships linking Nicaragua, Costa Rica, San Salvador, and Guatemala to Panama City. The shipping service was greatly expanded when canal construction began. Ships included the SS "Salvador", SS "Guatemala", SS "Cristobel", and , which became the first of the ships to cross the completed canal in 1914.
In 1904 the United States took over the license to build and operate the canal. The choice to use locks and an artificial lake (Gatun) meant that the old railway route from 1855 had to be changed because it followed the Chagres River valley, which would be flooded by the lake. Also, the railway would be extended and altered continuously for the building process. The stock of the Panama Railway Company, vital in canal construction, was entirely controlled by the United States Secretary of War.
History of the Panama Canal
French engineer and financier Philippe-Jean Bunau-Varilla played a key role in changing U.S. attitudes. Bunau-Varilla had a large stake in the failed French canal company, and stood to make money on his investment only if the Panama Canal was completed. Extensive lobbying of U.S. lawmakers coupled with his support of a nascent independence movement among the Panamanian people led to a simultaneous revolution in Panama and the negotiation of the Hay–Bunau-Varilla Treaty which secured both independence for Panama and the right for the U.S. to lead a renewed effort to construct the canal. Colombia's response to the Panamanian independence movement was tempered by U.S. military presence; the move is often cited as a classic example of the era of gunboat diplomacy.