During the early Viking Ages, a king of Norway is believed to have had a Kongsgård estate at the foot of Ulriken called "Álreksstaðir" (Alrekstad). At times the farm was the home of, at least, King Harald Fairhair, his son, King Eric Bloodaxe, Bloodaxe's children, and King Haakon the Good (Haakon I). Later, the founder of Bergen, King Olav Kyrre (Olaf III), ruled the city from Alrekstad for 26 years. However, Alrekstad lost its importance when King Eystein I moved his seat to Holmen, located within the city limits. Around year 1300, the farm was handed over to the monastery of Nonneseter.