 His parents were not married, and his mother died in 1859, when he was only two years old.During his childhood he frequently moved from place to place, growing up along with different relatives.He attended a folk high school in Sogndal when he was 15 years old.