Following the Polish War and the Thirty Years' War, Sweden held extensive control over the lands on the southern Baltic coast, including Pomerania and parts of Livonia and Prussia. Wismar was first occupied by Sweden in 1628. The military occupation was converted into full ownership at the Peace of Westphalia. The city quickly became the administrative center of all of Sweden's German possessions when the Royal Swedish Tribunal was set up in the Fürstenhof. This necessitated a buildup of Wismar's fortifications, an operation that Field Marshal Erik Dahlbergh was appointed to lead. The result was completely self-contained fortifications with bulwarks as an effective all-round defence system – a system meeting the most modern requirements was thus refined to great efficiency. Remains of these fortifications have been preserved, among other places, in the ‘Lindengarten' to the east of the wall of the old city.
Wismar was occupied by a coalition of Danish, Prussian, and Hanoverian troops during the Great Northern War of 1700–1721. This resulted in the destruction of the city's elaborate defence system. After the Treaty of Frederiksborg ended the war, Wismar was returned to Swedish control. However, since Sweden had lost several nearby possessions to its rivals, Wismar began to lose significance as it became more of an outpost of Swedish control rather than the center of a larger hub.
End of Swedish Rule
In 1803 Sweden pledged both the town and lordship to Mecklenburg-Schwerin for 1,258,000 Riksdaler, reserving, however, the right of redemption after 100 years. In view of this contingent right of Sweden, Wismar was not represented at the diet of Mecklenburg until 1897. In 1903 Sweden finally renounced its claims on the town.
Architecture
Many of Wismar's most distinctive buildings were built during this period of Swedish control. The building styles of Sweden mixed with the methods prevalent during Wismar's time in the Hanseatic League to create an architectural theme unique to the Baltic coast of Germany and Poland. The evidence of this historic style, known as Brick Gothic, in a number of structures led to them receiving the status of UNESCO World Heritage Site in 2002. This site is shared with the city of Stralsund.