He served as a circuit judicial commissioner,
提点刑狱, in several provinces, the post behind the title of the TV series
大宋提刑官. His book, finished in 1247, guided coroners for centuries and was translated into several European languages in the 19th century.