北京政府
After the Republic of China had been established, he was sent to France in 1913. On his return, by orders of Duan Qirui he helped establish the Bank of China, and became its president from July 1917. He served as minister of finance under the Beiyang Government from December 1917 to March 1918. In December 1918, he was the only representative of the Beiyang Government to attend a meeting with the Nanjing Government in an attempt to reunify China.