8 dated entries naming Bergen, drawn from 8 separate years between 997 CE and 1944 CE. Nothing here is written by us: each line is the sentence a Wikipedia year article used, and the link beside it opens the exact revision.
997Trondheim is founded by King Olav Tryggvason. This will function as the main city and capital of Norway, until Bergen is founded in 1070.source
11th century
1070Bergen is founded by King Olaf III of Norway; it will function as the main city and capital of Norway, until it is replaced by Oslo in 1314.source
12th century
1150The 15-year-old King Inge I ("the Hunchback") of Norway calls for a meeting at Bergen of all religious leaders in anticipation that the English cardinal Nicholas Breakspear will find an archbishopric at Trondheim.source
13th century
1225May 25 – At his royal palace in Bergen, King Haakon IV of Norway marries Margaret Skulesdatter, daughter of Haakon's rival for the throne, Skule Bårdsson.source
14th century
1314August 31 – King Haakon V of Norway moves his capital from Bergen to Oslo – where he builds Akershus Fortress, from which Norway is ruled for the next 500 years.source
18th century
1702May 19 – Over 90% of the city of Bergen, Norway, is destroyed and reduced to ashes in a Great Fire.source
20th century
1940April 10 – WWII: First naval Battle of Narvik – The British Royal Navy attacks the German fleet in the Ofotfjord. At Bergen, German cruiser Königsberg is sunk by British Fleet Air Arm Blackburn Skua dive bombers, flying from RNAS Hatston in Orkney.source
1944The Laksevåg floating dry dock at Bergen (Norway) is sunk by British X-class submarine X-24.source