 The following year, 1388, Swedish nobles called upon her help against King Albert.After Margaret defeated Albert in 1389, her heir Eric was proclaimed King of Norway.Eric was subsequently elected King of Denmark and Sweden in 1396.