sentences:  Mellen was the President of the B&L when it lost its court case, and ceased independent operations in 1887 when it was leased to the Boston and Maine Railroad.From 1888 to 1892 he was purchasing agent, then General Traffic Manager of the Union Pacific Railroad, where he formed a friendship with Diamond Jim Brady.In 1892, he became general manager of the New York and New England Railroad, during a time when it was engaged in a bitter war with the New Haven.