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 held the position of Prefect of Tianjin from 1893 to 187, then served as Vice Minister of Justice. He was appointed Secretary of Enactment (修訂法律大臣 or 修律大臣) alongside Wu Tingfang.