Moscow ceased to be Russia's capital (except for a brief period from 1728 to 1732 under the influence of the
Supreme Privy Council) when
Peter the Great moved his government to the newly built
Saint Petersburg on the Baltic coast in 1712. After losing the status as capital of the empire, the population of Moscow at first decreased, from 200,000 in the 17th century to 130,000 in 1750. But after 1750, the population grew more than tenfold over the remaining duration of the Russian Empire, reaching 1.8 million by 1915. By 1700, the building of cobbled roads had begun. In November 1730, permanent street light was introduced, and by 1867 many streets were lit by
gas. In 1883, near the , arc lamps were installed. In 1741 Moscow was surrounded by a barricade 25 miles long, the
Kamer-Kollezhsky rampart, with 16 gates at which customs tolls were collected. Its line is traced today by a number of streets called
val (). Between 1781 and 1804 the (the first in Russia) was built. In 1813 a Commission for the Construction of the City of Moscow was established. It launched a great program of rebuilding, including a partial replanning of the city-center. Among many buildings constructed or reconstructed at this time were the
Grand Kremlin Palace and the
Kremlin Armoury, the
Moscow University, the
Moscow Manege (Riding School), and the
Bolshoi Theatre. In 1903 the began operations. In the early 19th century, the arch of the 's gate was paved with bricks, but the
Spasskaya Tower was the main front gate of the Kremlin and used for royal entrances. From this gate, wooden and (following the 17th-century improvements) stone bridges stretched across the moat. Books were sold on this bridge, and stone platforms ('''') were built nearby for guns. The
Tsar Cannon was located on the platform of the
Lobnoye mesto. The road connecting Moscow with St. Petersburg, now the
M10 highway, was completed in 1746, its Moscow end following the old
Tver road which had existed since the 16th century. It became known as
Peterburskoye Schosse after it was paved in the 1780s.
Petrovsky Palace was built in 1776–1780 by
Matvey Kazakov as a railway station specifically reserved for royal journeys from Saint Petersburg to Moscow, while coaches for lesser classes arrived and departed from
Vsekhsvyatskoye station. When
Napoleon invaded Russia in 1812, the Moscovites were evacuated. It is suspected today that the
Moscow fire which ensued initially started as a result of Russian sabotage. In the fire's wake, an estimated three-quarters of the city lay in ruin.
Moscow State University was established in 1755. Its main building was reconstructed after the 1812 fire by
Domenico Giliardi. The
Moskovskiye Vedomosti newspaper appeared from 1756, originally in weekly intervals, and from 1859 as a daily newspaper. The
Arbat Street had been in existence since at least the 15th century, but it was developed into a prestigious area during the 18th century. It was destroyed in the fire of 1812 and was rebuilt completely in the early 19th century. In the 1830s, general
Alexander Bashilov planned the first regular grid of city streets north from Petrovsky Palace.
Khodynka field south of the highway was used for military training. Smolensky Rail station (forerunner of present-day
Belorussky Rail Terminal) was inaugurated in 1870.
Sokolniki Park, in the 18th century the home of the tsar's falconers well outside of Moscow, became contiguous with the expanding city in the later 19th century and was developed into a public municipal park in 1878. The suburban
Savyolovsky Rail Terminal was built in 1902. In January 1905, the institution of the City Governor, or
Mayor, was officially introduced in Moscow, and became Moscow's first official mayor. The 645-kilometer long railway between Moscow and Saint-Petersburg began operating in 1851. While technically it was not the first railway in Russia, its construction is generally seen as the beginning of the railway era in Russia. As railways grew in subsequent decades, Moscow served as the central railway hub of Russia. When Catherine II came to power in 1762, the city's filth and smell of sewage was depicted by observers as a symptom of the disorderly lifestyles of lower-class Russians recently arrived from the farms. Elites called for improving sanitation, which became part of Catherine's plans for increasing control over social life. National political and military successes from 1812 through 1855 calmed the critics and validated efforts to produce a more enlightened and stable society. There was less talk about the smell and the poor conditions of public health. However, in the wake of Russia's failures in the
Crimean War in 1855–56, confidence in the ability of the state to maintain order in the slums eroded, and demands for improved public health put filth back on the agenda. ==Soviet era (1917–1991)==