한림원
Upon his return to government service, he was appointed to the Hanlin Academy, charged with heading the commission compiling the "New Book of Tang" (1060). He also served as Song ambassador to the Liao on annual visits and served as examiner of the "jinshi" examinations, working on improving them in the process.