The three Scandinavian kingdoms joined in 1387 in the Kalmar Union under Queen Margaret I of Denmark. Sweden left the union in 1523 under King Gustav Vasa. In the aftermath of Sweden's secession from the Kalmar Union, civil war broke out in Denmark and Norway—the Protestant Reformation followed. When things had settled, the Norwegian Privy Council was abolished—it assembled for the last time in 1537. A personal union, entered into by the kingdoms of Denmark and Norway in 1536, lasted until 1814. Three sovereign successor states have subsequently emerged from this unequal union: Denmark, Norway and Iceland.