The completion of the transcontinental telegraph on October 24, 1861, ended the Pony Express after only 18 months of operation.