As one of these major powers, Sweden recognised the need, towards the end of the 17th century, to establish a new naval base in order to be able protect the extensive territories it had acquired throughout northern Germany and present-day Finland, Estonia and Latvia.