In 1925, Taiyuan came to Beijing. In the following year, the warlord Zhang Zuolin became the new leader of the Northern Warlords Government of China. Since Taiyuan came from the same area as Zhang, he soon became friends with Zhang's Chief of Staff and thus was appointed abbot of Bailin Temple. In 1929, Master Taiyuan and a few Buddhist believers established a Buddhist academy inside the temple grounds. The next year, under the efforts of Master Taixu, the academy was reorganized on a larger scale. However, in 1931, the war between the Chinese and the Japanese in the Northeast had a serious effect on the financial resources of the temple. In 1932, it was announced that the academy was to close. Since Taiyuan had always lived a rather luxurious life, he eventually decided he could not survive in Beijing anymore and moved to Sichuan, where he later died. Although Taiyuan was active in Beijing for only five or six years, his role in establishing the academy played a major part in advancing the study of Buddhism in Beijing.