At the age of 18, he received the Xiucai degree in the Imperial examination; it was not until he was 71 that he was awarded the "Gongsheng" degree for his achievement in literature rather than for passing the Imperial examinations.