Imperial era (1703–1917)
Swedish colonists built Nyenskans, a fortress at the mouth of the Neva River in 1611, which was later called Ingermanland. The small town of Nyen grew up around the fort. Before the 17th century, this area was inhabited by Finnic Izhorians and Votians. The Ingrian Finns moved to the region from the provinces of Karelia and Savonia during the Swedish rule. There was also some Estonian, Karelian, Russian and German population in the area.
At the end of the 17th century, Peter the Great, who was interested in seafaring and maritime affairs, wanted Russia to gain a seaport to trade with the rest of Europe. He needed a better seaport than the country's main one at the time, Arkhangelsk, which was on the White Sea in the far north and closed to shipping during the winter.
On 12 May [O.S. 1 May] 1703, during the Great Northern War, Peter captured Nyenskans and soon replaced the fortress. On 27 May [O.S. 16 May] 1703, closer to the estuary (5 km (3 mi) inland from the gulf), on Zayachy (Hare) Island, he laid down the Peter and Paul Fortress, which became the first brick and stone building of the new city.
The city was built by conscripted peasants (serfs) from all over Russia; in some years several Swedish prisoners of war were also involved under the supervision of Alexander Menshikov. Tens of thousands of serfs died while building the city. Later, the city became the centre of the Saint Petersburg Governorate. Peter moved the capital from Moscow to Saint Petersburg in 1712, nine years before the Treaty of Nystad of 1721 ended the war. He referred to Saint Petersburg as the capital (or seat of government) as early as 1704.
During its first few years, the city developed around Trinity Square on the right bank of the Neva, near the Peter and Paul Fortress. However, Saint Petersburg soon started to be built out according to a plan. By 1716, the Swiss–Italian Domenico Trezzini had elaborated a project whereby the city centre would be on Vasilyevsky Island and shaped by a rectangular grid of canals. The project was not completed but is evident in the layout of the streets. In 1716, Peter the Great appointed Frenchman Jean-Baptiste Alexandre Le Blond as the chief architect of Saint Petersburg.
The style of Petrine Baroque, developed by Trezzini and other architects and exemplified by such buildings as the Menshikov Palace, Kunstkamera, Peter and Paul Cathedral, and Twelve Collegia, became prominent in the city architecture of the early 18th century. In 1724, the Academy of Sciences, the University, and the Academic Gymnasium were established in Saint Petersburg by Peter the Great.
In 1725, Peter died at age fifty-two. His endeavors to modernise Russia had been opposed by the Russian nobility. There were several attempts on his life and a treason case involving his son. In 1728, Peter II of Russia moved his seat back to Moscow. But four years later, in 1732, under Empress Anna of Russia, Saint Petersburg was again designated as the capital of the Russian Empire. It remained the seat of the Romanov dynasty and the Imperial Court of the Russian tsars, as well as the seat of the Russian government, for another 186 years until the communist revolution of 1917.
In 1736–1737, the city suffered from catastrophic fires. To rebuild the damaged boroughs, a committee under Burkhard Christoph von Münnich commissioned a new plan in 1737. The city was divided into five boroughs, and the city centre was moved to the Admiralty borough, on the east bank between the Neva and Fontanka.
It developed along three radial streets, which meet at the Admiralty building and are now known as Nevsky Prospect (which is considered the main street of the city), Gorokhovaya Street, and Voznesensky Prospekt. Baroque architecture became dominant in the city during the first sixty years, culminating in the Elizabethan Baroque, represented most notably by Italian Bartolomeo Rastrelli with such buildings as the Winter Palace. In the 1760s, Baroque architecture was succeeded by neoclassical architecture.
Established in 1762, the Commission of Stone Buildings of Moscow and Saint Petersburg ruled that no structure in the city could be higher than the Winter Palace and prohibited spacing between buildings. During the reign of Catherine the Great in the 1760s–1780s, the banks of the Neva were lined with granite embankments.
However, it was not until 1850 that the first permanent bridge across the Neva, Annunciation Bridge, was allowed to open. Before that, only pontoon bridges were allowed. Obvodny Canal (dug in 1769–1833) became the southern limit of the city.
The most prominent neoclassical and Empire-style architects in Saint Petersburg included:
Jean-Baptiste Vallin de la Mothe (Imperial Academy of Arts, Small Hermitage, Gostiny Dvor, New Holland Arch, Catholic Church of St. Catherine)
Antonio Rinaldi (Marble Palace)
Yury Felten (Old Hermitage, Chesme Church)
Giacomo Quarenghi (Academy of Sciences, Hermitage Theatre, Yusupov Palace)
Andrey Voronikhin (Mining Institute, Kazan Cathedral)
Andreyan Zakharov (Admiralty building)
Jean-François Thomas de Thomon (Spit of Vasilievsky Island)
Carlo Rossi (Yelagin Palace, Mikhailovsky Palace, Alexandrine Theatre, Senate and Synod Buildings, General staff Building, design of many streets and squares)
Vasily Stasov (Moscow Triumphal Gate, Trinity Cathedral)
Auguste de Montferrand (Saint Isaac's Cathedral, Alexander Column)
In 1810, Alexander I established the first engineering higher education, the Military Engineering-Technical University in Saint Petersburg. Many monuments commemorate the Russian victory over Napoleonic France in the Patriotic War of 1812, including the Alexander Column by Montferrand, erected in 1834, and the Narva Triumphal Arch.
In 1825, the suppressed Decembrist revolt against Nicholas I took place on the Senate Square in the city, a day after Nicholas assumed the throne.
By the 1840s, neoclassical architecture had given way to various romanticist styles, which dominated until the 1890s, represented by such architects as Andrei Stackenschneider (Mariinsky Palace, Beloselsky-Belozersky Palace, Nicholas Palace, New Michael Palace) and Konstantin Thon (Moskovsky railway station).
With the emancipation of the serfs undertaken by Alexander II in 1861 and an Industrial Revolution, the influx of former peasants into the capital increased greatly. Poor boroughs spontaneously developed on the outskirts of the city. Saint Petersburg surpassed Moscow in population and industrial growth; it became one of the largest industrial cities in Europe, with a major naval base (in Kronstadt), the Neva River, and a seaport on the Baltic.
The names of Saints Peter and Paul, bestowed upon the original city's citadel and its cathedral (from 1725, a burial vault of Russian emperors) coincidentally were the names of the first two assassinated Russian emperors, Peter III (1762, supposedly killed in a conspiracy led by his wife, Catherine the Great) and Paul I (1801, Nikolay Alexandrovich Zubov and other conspirators who brought to power Alexander I, the son of their victim). The third emperor's assassination took place in Saint Petersburg in 1881 when Alexander II was murdered by terrorists (see the Church of the Savior on Spilled Blood).
The Revolution of 1905 began in Saint Petersburg and spread rapidly into the provinces.
On 1 September 1914, after the outbreak of World War I, the Imperial government renamed the city Petrograd, meaning "Peter's City", to remove the German words Sankt and Burg.