During the times of the Teutonic Order, in the fourteenth century, a wooden fortress stood by the mouth of the river Vistula, flowing into the Baltic Sea; which was burnt down by a Hussite Sirotci raid, in September, 1433. In 1482, a brick lighthouse tower was built in place of the former fortress. The tower was assigned to control the passage of ships, traveling to and from the Bay of Gdańsk's main port city of Gdańsk. The Wisłoujście Fortress was target for military campaigns. In 1577 the fortress was besieged several times by Stefan Batory, inconclusively, during the Battle of Oliwa (1627), when the fortress was cannonaded by a Swedish fleet; in 1734 by Russian-Saxon, in 1793 by Prussian, in 1807 by Napoleonic, and once again in 1814 by Prussian fleets. Between 1622-1629 the fortress was known as "Latarnia" ("Lighthouse", Polish), under the name of a fortress - while actually being a naval base of the Polish–Lithuanian Commonwealth. On the night of July 5–6, 1628, the fortress was attacked with artillery fire, from a Swedish fleet traveling from Wisłoujście, into the fortress, sinking the vessel "Złoty Lew" ("Golden Lion", Polish), and a galleon.