He was the son of district stipendiary magistrate (sorenskriver) Johan Daniel Stub (1736–1802) and grandson of Lauritz Stub (1708-1774), both of whom served as judges in Bergen. He grew up in Eid in the county of Sogn og Fjordane, Norway. His brother was Gerhard Heiberg Stub (1781-1831), a merchant in Bergen. In August 1793 he married his cousin Gjertrud Helene Heiberg (1774–1852) in Talvik.
Stub was a member of the Norwegian Constitutional Assembly at Eidsvoll in 1814 at which time he worked as dean in Romsdals Amt. He died in a boat accident in 1819 in Tresfjord, Møre og Romsdal.
|This biographical article about a Norwegian religious figure is a stub. You can help Wikipedia by expanding it.|
|This article about a Norwegian politician born in the 1760s is a stub. You can help Wikipedia by expanding it.|