i Stockholm 1799 , student 1770 ,pastoralexamen