After the death of Haakon VI of Norway in 1380, his son Olav IV of Norway succeeded to both the thrones of Norway and Denmark and also claimed the Kingdom of Sweden (holding its westernmost provinces already). Only after his death at the age of 17 his mother Margaret managed to oust their rival, king Albert, from Sweden, and thus united the three Scandinavian kingdoms in personal union under one crown, in the Kalmar Union. Olav's death extinguished yet one Norwegian male royal line; he was also the last Norwegian king to be born on Norwegian soil for the next 567 years.