The ghost story "The Signal-Man" is written in 1866, which concerns a spectre seen beside a tunnel entrance. The signal-man of the title tells the narrator of a ghost that has been haunting him. Each spectral appearance precedes, and is a harbinger of, a tragic event on the railway on which the signalman works. The signalman's work is at a signalbox in a deep cutting near a tunnel entrance on a lonely stretch of the line, and he controls the movements of passing trains. When there is danger, his fellow signalmen alert him via telegraph and alarms. Three times, he receives phantom warnings of danger when his bell rings in a fashion that only he can hear. Each warning is followed by the appearance of the spectre, and then by a terrible accident. The first accident involves a terrible collision between two trains in the tunnel. Dickens may have based this incident on the Clayton Tunnel rail crash that occurred in 1861.