After the Conquest of Shu by Wei in 263, he became an official historian under the government of the Jin dynasty, and was assigned the task of creating a history of the Three Kingdoms period.
Efter faldet af Shu i 263, blev han en officiel historiker under regeringen i Jin-dynastiet og fik til opgave at skrive en historie om de tre kongerigers periode.