Peter the Great's naval fortress or the Tallinn-Porkkala defence station was a Russian fortification line, which aimed to block access to the Russian capital Saint Petersburg via the sea. The plans for the fortress included heavy coastal artillery pieces along the northern and southern shores of the Gulf of Finland. The emphasis was put on the defences of the gulf's narrowest point, between Porkkala, (in current day Finland) and Tallinn, (in current day Estonia). This was a strategic point, as the two fortresses of Mäkiluoto and Naissaar were only 36 kilometres apart. The coastal artillery had a range of about 25 kilometres and could thus "close" the gap between the shores, trapping enemy ships in a crossfire. Furthermore, a new major naval base was constructed in Tallinn.
The decision to start construction of the naval fortress line came after the disastrous events at Tsushima, where the whole Russian Baltic Fleet had been annihilated. The road to Saint Petersburg was then unprotected and open. The quickest and cheapest way of dealing with this problem was to protect Saint Petersburg with a seemingly impenetrable zone of coastal artillery until a new fleet had been constructed. The idea was presented for the first time in 1907. Czar Nicholas II approved the plans on July 5, 1912, and the construction began soon thereafter.
The system consisted of several zones of defence:
Further, Helsinki and Tallinn were encircled with defensive lines on land, consisting of thousands of kilometers of railway, bunkers connected with tunnel systems, and cannon fire positions. The fortification around Helsinki, Krepost Sveaborg, was centered on the old fortress of Suomenlinna.
The construction of the defensive system was slowed due to the outbreak of World War I. The naval fortress was only partly finished when both Finland and Estonia declared their independence, following the Russian October revolution. The German Navy performed one major landing operation on the shores of the Gulf of Finland during World War I. In April 1918, following a request from the Senate of Vaasa in Finland, the German Ostsee Division, led by Rüdiger von der Goltz, landed in Hankoo, joined the Finnish Whites in the fight against the Reds, and conquered Helsinki.