 Xi Zheng's foremost contribution to history was his composition of Liu Shan's surrender document to the Wei general Deng Ai, which survives in the "Records of the Three Kingdoms" ("Sanguozhi").Xi Zheng remained extremely loyal to Liu Shan, and was one of two former high-ranking Shu officials who abandoned their families and travelled with Liu Shan to Luoyang during Zhong Hui's Rebellion in 264.He was one of five former Shu officials to be enfeoffed as marquises by the Wei government.