 Harald was therefore induced to take a vow not to cut nor comb his hair until he was sole king of Norway, and when he was justified in trimming it ten years later, he exchanged the epithet "Shockhead" or "Tanglehair" (Haraldr lúfa) for the one by which he is usually known.In 866, Harald made the first of a series of conquests over the many petty kingdoms which would compose all of Norway, including Värmland in Sweden, which had sworn allegiance to the Swedish saga-king Erik Eymundsson (whose historicity is not confirmed).In 872, after a great victory at Hafrsfjord near Stavanger, Harald found himself king over the whole country, ruling from his Kongsgård seats at Avaldsnes and Alrekstad.