The idea of a railway connecting the two capitals gave rise to a prolonged controversy, with some reactionary officials predicting social upheaval if the masses were allowed to travel.
By the Msta River the tsar's pencil hit an awkwardly placed finger which he was using to hold down the ruler, creating a bend in the line.
By the 1870s, Russians were telling a different version, claiming the tsar was wise to overcome local interests that wanted the railway diverted this way and that.
A similar story is told about the Ulm-Friedrichshafen railway that includes a remarkably straight stretch bypassing many settlements - as the story goes due to endless debates between local advocates about what village to serve, which were ended when the King of Württemberg took out a ruler and drew a straight line saying "this is how I want my railway built".
[6] The curve, also called the Verebinsky bypass, was actually built in 1877, 26 years after the line came into being, to circumvent a steep gradient that lasted for 17 km (10.6 mi).
In 2001, Russia's first high-speed rail line was planned to be constructed along the same route, but the project was eventually shelved amid ecological protests and concerns about the fragile environment of the Valdai Hills.
The Siemens Velaro RUS train, also known as Sapsan, has operated on this line since 2009, running below their maximum speed of 300 km/h (186 mph) because of difficulties upgrading all the track.
[10] Since 1931 the famous Krasnaya Strela ("Red Arrow") train has left Moscow at 23:55 daily, arriving in St Petersburg at 07:55 the next morning, and vice versa.
[11] Major stations include (south to north) Kryukovo (Zelenograd), Klin, Redkino, Tver, Likhoslavl, Kalashnikovo, Vyshny Volochyok, Bologoye, Okulovka, Luka, Malaya Vishera, Chudovo, Lyuban, Tosno and Obukhovo.
On 16 August 1988, 31 people were killed when the Avrora derailed while traveling at high speed on a stretch of defective track near Bologoye.
[13] On 13 August 2007 an intercity passenger train to St Petersburg from Moscow derailed shortly before reaching Malaya Vishera after a bomb explosion.
[14][15][16] Two men from the Ingushetia region of North Caucasus, Salambek Dzakhkiyev and Maksharip Khidriyev, were charged in relation to this incident.
The court decided they delivered the explosives to the person who actually planted them, the leader of the terrorist cell, Pavel Kosolapov, at large at time of the trial, but were not aware how it was going to get used.