in the 1890s the priority of the fortification works in the baltic sea had been the protection of the ice-free port of liepāja, and the kronstadt fortress protecting saint petersburg, relegating viapori to a secondary status. after the losses during the russo-japanese war and in light of the rising might of the imperial german navy, liepāja was considered too vulnerable for a main fleet base, and the decision to build peter the great's naval fortress was made. in the new plans the main line of defence against the enemy was at the porkkala-tallinn line with tallinn also the new main base for the russian baltic fleet. helsinki was to be a base for torpedo boat flotillas. the construction of the tallinn naval base was delayed however, and with the new ships being constructed to replace the losses suffered against japan the russian navy was forced to rely more on helsinki despite the obsolete armament and inadequate fortifications at viapori. as the threat of war in europe grew, it became essential to expand the fortress to provide a necessary protection for the naval base. until 1910, when the first 152 mm canet guns arrived, the only modern weapons at viapori were 57 mm quick fire guns with the rest of the artillery designs dating from the russo-turkish war. the first new 254 mm guns arrived in 1913, but it was not until early 1914 that construction of the first new batteries began on melkki and isosaari. during the first world war the new krepost sveaborg was built to substantially expand the old fortress. a new "main line of defence" was constructed on the outlying islands, pushing the defensive line several kilometers southward, thus providing a secure outer anchorage south of the old fortress for larger warships without the need to navigate the narrow straits leading to the inner anchorage at kruunuvuorenselkä. the older parts of the fortress became a "second line of defence" and the main storage areas. the rear of the fortress was finally protected by land fortifications, at first field fortifications on the helsinki peninsula built in 1914, and, later, an outer line of fixed fortifications.