Wergeland was born in Christianssand and grew up at Eidsvold. He was the son of priest and politician Nicolai Wergeland, and a brother of the poet Henrik Wergeland and feminist writer Camilla Collett. His cousin was military officer Harald Nicolai Storm Wergeland. In 1859 he returned to Christianssand, where he stayed the rest of his life.
