Still a child, she came to England with the rest of her family when her father, Edward the Exile, was recalled in 1057 as a possible successor to her great-uncle, the childless King Edward the Confessor. Whether from natural or sinister causes, her father died immediately after landing, and Margaret continued to reside at the English court where her brother, Edgar Ætheling, was considered a possible successor to the English throne. When Edward the Confessor died in January 1066, Harold Godwinson was selected as king, possibly because Edgar was considered too young. After Harold's defeat at the Battle of Hastings later that year, Edgar was proclaimed King of England, but when the Normans advanced on London, the Witenagemot presented Edgar to William the Conqueror, who took him to Normandy before returning him to England in 1068, when Edgar, Margaret, Cristina, and their mother Agatha fled north to Northumbria, England.