He was rector magnificus of Lund University 1819-1820 and was appointed bishop of Karlstad in 1835 , where he remained until his death .
He was `` rector magnificus '' of Lund University from 1819 to 1820 . In 1835 he became the bishop of Karlstad , where he remained until his death .