The Tibetan lama Je Tsongkhapa of the Gelug Buddhist sect declined the offer of the Yongle Emperor of China to appear in the capital at Nanjing, although he sent his disciple Chosrje Shākya Yeshes, who was given the title "State Teacher". The later Xuande Emperor granted Yeshes the title of a king upon a return visit to China, only he traveled to the new capital at Beijing.