He was born in Moss , and graduated as a Candidate of Law in 1840 .
Hansteen was born in Moss , and graduated there as a cand.jur . ( Candidate of Law ) in 1840 .