《旧唐书·列传·卷五十二》
考取进士，又应考制举，荣登文字优赡科，提为尉，四次升迁为左台监察御史。
举进士，又应制举，登文学优赡科，拜郿尉，四迁左台监察御史。
After passing the official examination to be Jinshi, he also applied for official recommendation and was admitted to the highest level of calligraphy, and promoted to Lieutenant, with four subsequent promotions to Left Censor.