Derived from Old Norse magn "mighty, strong" and hildr "battle". This was the name of a novel by the Norwegian author Bjørnstjerne Bjørnson.