In the early 18th century, the establishment of Russian naval power in the Baltic challenged the interests of Sweden, at the time one of the major powers in the Baltic. The Swedish empire at the time included territory in Northern Germany, all of modern Finland and most of the Baltic states, a dominion held together by the Baltic sea routes. Russian Tsar Peter the Great had established a new capital and naval base in Saint Petersburg in 1703. During the Great Northern War Sweden lost its Baltic state territories, and experienced destructive Russian raiding in Finland and along the chain of islands and archipelagos that stretched all the way from the Gulf of Finland to the capital of Stockholm. The traumatic experience led to the establishment of inshore flotillas of shallow-draft vessels. The first of these consisted mainly of smaller versions of the traditional Mediterranean warship, the galleys. Most of these more akin to galiots and were complemented with gun pram. The disastrous war against Russia 1741-43 and the minor involvement in Prussia in the Seven Years' War 1757-62 showed the need for further expansion and development of the inshore flotillas with more specialized vessels.