 Olav Gudbrandsson was the son of Gudbrand Skavhoggsson ("Guðbrandr Skafhǫggsson") and Maria Øysteinsdotter ("María Eysteinsdóttir"), the daughter of King Eystein I of Norway and his wife Ingebjørg Guttormsdatter.Olav was fostered by Sigurd Agnhatt ("Sigurðr agnhǫttr") in the Oppland region of eastern Norway.In the late 1160s, Norway was ruled by earl Erling Skakke, during the minority of his son, King Magnus V of Norway ("Magnus Erlingsson").