The Franklin Railroad became the Cumberland Valley Railroad. In the 1870s, it built a roundhouse off Church Street in the Maryland Metals area. A freight station was built on Church Street; it is now a part of the Rescue Mission. A large passenger station was constructed on Walnut Street, between West Washington Street and Green Lane (now West Antietam Street). The station's dining room could accommodate both train riders and locals. The station was shared with the Norfolk and Western Railroad, and connections could be made with a train arriving from Roanoke, Va., to continue on to Philadelphia, New York or Chicago.
The Cumberland Valley was absorbed by the Pennsylvania Railroad and the north/south line was extended to Winchester, Va. The N&W entered Hagerstown from the south. The B&O came in from the southeast and southwest. In the early part of the 20th century, the WM extended its rails to Cumberland, Connelsville, Pa., and the coal fields of West Virginia. The WM moved the corporate headquarters to its new passenger station between Franklin and Washington Streets and completed the roundhouse complex in the 1920s.