He had been once the Prefect of Tianjin during 1893–7, then the Vice Minister of Justice. He was appointed to be the Secretary of Enactment (修訂法律大臣 or 修律大臣) together with Wu Tingfang.
He previously served as Prefect of Tianjin from 1893 to 187, then held the position of Vice Minister of Justice.  He was later appointed Secretary of Enactment (修訂法律大臣 or 修律大臣) along with Wu Tingfang.