He passed the exams under the Later Han, served the Later Zhou, and twice became chief minister under
宋太宗. Besides 《
太平广记》 and 《
太平御览》 he led the compilation of 《
文苑英华》, a thousand-scroll anthology of literature. With the later 《
册府元龟》 they are known as the Four Great Books of Song.