The Xihuang Temple originally dates to the Liao dynasty. In 1651, the temple was commissioned by the Qing Emperor Shunzhi to host the visit of the Fifth Dalai Lama to Beijing. Since then, this temple has hosted the 13th Dalai Lama as well as the Sixth, Ninth and Tenth Panchen Lamas. The largest Tibetan Buddhist Temple in Beijing is the Yonghe Temple, which was decreed by the Qing Emperor Qianlong in 1744 to serve as the residence and research facility for his Buddhist preceptor of Rölpé Dorjé the third Changkya (or living Buddha of Inner Mongolia). The Yonghe Temple is so-named because it was the childhood residence of the Yongzheng Emperor, and retains the glazed tiles reserved for imperial palaces.