Original: He was born in Moss, and graduated as cand.
Simplified: Hansteen was born in Moss, and graduated there as a cand.