 Haakon had even ruled the whole of Norway (nominally under the Danish king) from 975 until 995, when he was killed during the takeover by Olaf Tryggvasson.Even after Haakon's death, his offspring held a certain degree of sovereignty in the north, and by Harald's early reign the family was headed by Einar Thambarskelfir, who was married to Haakon's daughter.While the family had maintained good relations with Magnus, Harald's absolutism and consolidation of the kingship soon led to conflict with Einar.