[1][2] In 1193, Wansong came to the attention of Emperor Zhangzong of Jin (reigned 1189–1208), who invited him to court in order to expound Buddhist teaching.
[1] Impressed by his knowledge the emperor presented Wansong with a brocade monk's robe, and asked him to move to the central capital Zhongdu (modern Beijing).
In 1224, at the urging of Yelü Chucai, he published a commentary to a collection of one hundred songgu (頌古) kōan by Hongzhi under the title Congrong Lu (從容錄), known in English as the Book of Equanimity or the Encouragement (Hermitage) Record.
Wansong also wrote a commentary on Hongzhi's niangu (拈古) kōan, entitled Qingyi Lu (請益錄), known in English as Record of Seeking Additional Instruction.
After the death of Wansong, his disciples built an octagonal seven-storeyed brick pagoda, 5 metres (16 ft) in height, in Yanjing (modern Beijing) to house his remains.