 According to the "Orkneyinga Saga", Haakon's cousin Magnus Erlendsson was initially rejected by the Norwegian rulers because of his religious convictions.Magnus was obliged to take refuge in Scotland, but returned to Orkney in 1105 and disputed the succession of Haakon.Having failed to reach an agreement, Magnus sought help from King Eystein I of Norway who granted him the joint earldom of Orkney.