Saint Margaret of Scotland, also known as Margaret of Wessex, was an English princess and a Scottish queen. Margaret was sometimes called "The Pearl of Scotland". Born in the Kingdom of Hungary to the expatriate English prince Edward the Exile, Margaret and her family returned to England in 1057. Following the death of Harold Godwinson at the Battle of Hastings in 1066, her brother Edgar Ætheling was elected as King of England but never crowned. After she and her family fled north, Margaret married Malcolm III of Scotland by the end of 1070.