After her death in 1130, King Niels married Queen dowager Ulvhild of Sweden. Margaret's lands in Sweden became a base for her son, Magnus when he claimed the throne of Sweden through her. When Margaret's first cousin King Inge the Younger died, Magnus claimed the throne as the eldest grandson of King Inge the Elder and reigned as King Magnus I of Sweden.