 He remained at this post until his death on 16 February 1822.Pavels was host of the ceremony when the first Norwegian university, the Royal Frederick University of Christiania, was founded in 1811.The ceremony took place at Akershus Fortress 11 November 1811 when he was the priest for the Fortress.