He was appointed professor at the Norwegian Institute of Technology from 1949. During the German conquest of Norway in 1940 he took part in the Battle of Hegra Fortress, and later emerged as leader of the local chapter of Milorg in Trøndelag at the end of the war.