He hailed from Peijun 沛郡 (modern Suixi 濉溪, Anhui) and was a petty official in his home town. He later became magistrate (ling 令), then governor (taishou 太守) of the commandery of Guangling 廣陵 and then of the metropolitan region of Youfufeng 右扶風.
As Chamberlain for the Imperial Stud (taipu 太僕) he served with utmost loyalty and even dedicated his whole property to the powerful families Xu 許 and Shi 史, so that he was recommended to succeed Counsellor-in-chief (chengxiang 丞相) Bing Ji 丙吉. In 51 BCE he was appointed Censor-in-chief (yushi dafu 御史大夫). He died in office.