information:filtering
Tsardom (1547–1721)

In the 16th and 17th centuries, three circular defenses were built: Kitay-gorod, the White City and the Earthen City. However, in 1547, fires destroyed much of the town, and in 1571 the Crimean Tatars captured Moscow, burning everything except the Kremlin. The annals record that only 30,000 of 200,000 inhabitants survived.

The Crimean Tatars attacked again in 1591, but were held back by new walls, built between 1584-91 by a craftsman named Fyodor Kon. In 1592, an outer earth rampart with 50 towers was erected around the city, including an area on the right bank of the Moscow River. As an outermost line of defense, a chain of strongly fortified monasteries was established beyond the ramparts to the south and east, principally the Novodevichy Convent and Donskoy, Danilov, Simonov, Novospasskiy, and Andronikov monasteries, most of which now house museums. From its ramparts, the city became poetically known as Bielokamennaya, the "White-Walled". The city's limits as marked by the ramparts, are now marked by the Garden Ring. Three square gates existed on the east side of the Kremlin wall, which in the 17th century, were known as Konstantino-Eleninsky, Spassky, Nikolsky (after the icons of Constantine and Helen, the Saviour and St. Nicholas that hung over them). The last two were directly opposite the Red Square, while the Konstantino-Elenensky gate was located behind Saint Basil's Cathedral.

The Russian famine of 1601–03 killed perhaps 100,000 in Moscow. Between 1610-12, troops of the Polish–Lithuanian Commonwealth occupied Moscow, as its ruler Sigismund III tried to take the Russian throne. In 1612, Nizhny Novgorod and other Russian cities led by prince Dmitry Pozharsky and Kuzma Minin rose against the Polish occupants, besieged the Kremlin, and expelled them. In 1613, the Zemsky Sobor elected Michael Romanov tsar, establishing the Romanov dynasty. The 17th century saw several risings, such as the liberation of Moscow from the Polish–Lithuanian invaders (1612), the Salt Riot (1648), the Copper Riot (1662), and the Moscow Uprising of 1682.

During the first half of the 17th century, the population doubled from 100,000 to 200,000, and it expanded beyond its ramparts in the latter part of the century. In the middle of the 17th century, 20% of Moscow suburb's inhabitants were from the Grand Duchy of Lithuania, being driven from their homeland by Muscovite invaders. By 1682, there were 692 households established north of the ramparts, by Ukrainians and Belarusians abducted from their hometowns in the course of the Russo-Polish War (1654–1667). These new outskirts became known as the Meshchanskaya sloboda, after Ruthenian meshchane "town people". The term meshchane acquired pejorative connotations in 18th-century Russia and today means "petty bourgeois" or "narrow-minded philistine". The entire city of the late 17th century are contained within what is today Moscow's Central Administrative Okrug.

Numerous disasters befell the city. The plague epidemics ravaged Moscow in 1570–1571, 1592 and 1654–1656. The plague killed upwards of 80% of the people in 1654–55. Fires burned out much of the wooden city in 1626 and 1648. In 1712 Peter the Great moved his government to the newly built Saint Petersburg on the Baltic coast. Moscow ceased to be Russia's capital (except in 1728-32 under the influence of the Supreme Privy Council).