he was born in jonsrud, vestby, akershus, norway. in 1763, having completed secondary school, he went to denmark for further studies (since norway didn't have any university in 1763). in 1778 he got the degree of "candidatus juris", which is one law degree. in 1794 he was hired as a surveyor; in 1798, a royal inspector of surveying.