The Second Polish Republic had only 74 kilometers of Baltic Sea shoreline. In the Middle Ages, Poland ruled a much wider shoreline, with such ports, as Gdańsk, Kołobrzeg, Kamień Pomorski, Szczecin (Wańkowicz spells it "Szczucin"), Wolin. Wańkowicz recalls Polish efforts at keeping its sea connections, such as Pomeranian wars of Bolesław III Wrymouth, and Poland's failure, when in 1598 King Sigismund III Vasa, after receiving 300,000 zlotys from the Sejm, set on to the Kingdom of Sweden with a fleet of 60 ships, and an army of 5,000 (see: War against Sigismund).