1675, 105 buildings burned down in �vregaten. In 1686 a new great fire hit Strandsiden, destroying 231 city blocks and 218 boathouses. The greatest fire to date happened in 1702 when 90 percent of the city was burned to ashes. In 1751, there was a great fire atV�gsbunnen. In 1756, a new fire at Strandsiden burned down 1,500 buildings, and further great fires hit Strandsiden in 1771 and 1901. In 1916, 300 buildings burned down in the city centre, and in 1955 parts of Bryggen burned down.
In 1349, the Black Death was inadvertently brought to Norway by the crew of an English ship arriving in Bergen. In the 15th century, the city was several times attacked by theVictual Brothers, and in 1429 they succeeded in burning the royal castle and much of the city. In 1665, the city's harbour was the site of the Battle of V�gen, where an English naval flotilla attacked a Dutch merchant and treasure fleet supported by the city's garrison.
Throughout the 15th and 16th centuries, Bergen remained one of the largest cities in Scandinavia, and was Norway's biggest city until the 1830s, when the capital city ofOslo became the largest. From around 1600, the Hanseatic dominance of the city's trade gradually declined in favour of Norwegian merchants (often of Hanseatic ancestry), and in the 1750s, the Hanseatic Kontor finally closed. Bergen retained its monopoly of trade with Northern Norway until 1789.
During World War II, Bergen was occupied on the first day of the German invasion on 9 April 1940, after a brief fight between German ships and the Norwegian coastal artillery. On 20 April 1944, during the German occupation, the Dutch cargo ship Voorbode anchored off the Bergenhus Fortress, loaded with over 120 tons of explosives, blew up, killing at least 150 people and damaging historic buildings. The city was subject to some Allied bombing raids, aiming at German naval installations in the harbour. Some of these caused Norwegian civilian casualties numbering about