After the railroads from Boston to Lowell, Worcester, and Providence were chartered in 1830 and 1831, railroads to other surrounding cities including Newburyport and Portsmouth were proposed.
With the railroad receiving more traffic than expected, a branch line from Salem to Marblehead opened on December 10, 1839, replacing a stagecoach connection from Marblehead station on the mainline [REF].