Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
King of Denmark (1376–1387) and Norway (1380–1387)
For the anti-king of Denmark who called himself Olaf II, see Olaf Haraldsen.
Olaf II and IV
Olaf as depicted on his royal seal, with the shield of Norway (left) and Denmark (right)
When his grandfather Valdemar IV of Denmark died, Olaf was just five years old. He was proclaimed king of Denmark by a Danehof in Slagelse the following year. His mother, Queen Margaret, was to serve as regent due to his young age. His proclamation included the title "true heir of Sweden" added at his mother's insistence since both his father and his paternal grandfather, Magnus IV, had been kings of Sweden until they were forced to abdicate. Olaf was hailed as king in Scania, including the towns controlled by the Hanseatic league since the Treaty of Stralsund in 1370. Queen Margaret signed a coronation charter on behalf of Olaf, who was too young to rule until he came of age at fifteen. In the charter Olaf agreed to meet with the Danehof at least once a year and return properties his grandfather Valdemar IV had confiscated during his reign.
Olaf became king of Norway on his father's death in 1380. Even when Olaf reached his majority in 1385, his mother ruled through him. With his ascent to the Norwegian throne, Denmark and Norway were thus united in a personal union ruled from Denmark. Denmark and Norway would have the same king, with the exception of short interregna, until Norway's independence from Denmark in 1814, as a result of the Treaty of Kiel.
Death and aftermath
Olaf died unexpectedly at Falsterbohus in August 1387 at age 16. He was buried at Sorø Abbey on the Danish island of Zealand where his grandfather and, later, his mother, were also buried. Rumors immediately arose that Olaf had been poisoned. Following her son's death, Margaret united all three Scandinavian kingdoms in a personal union. After Olaf, no Norwegian king was to be born on Norwegian soil for more than 550 years, until Harald V, born in 1937, became king in 1991. Olaf's death was also the end of the male line of the House of Bjälbo. In 2015 Jørgen Lange Thomsen, a forensic scientist, proposed a theory Olaf II died from Brugada syndrome.