In 841 CE, Egaku went to Tang China on a pilgrimage to Mount Wutai, the bodhimaņḍa of Manjuśri Bodhisattva. From there, he traveled to Hangzhou where he visited and offered gifts from the Empress Dowager to Yanguan Qi'an, a renowned 9th generation Chan Buddhist master descended from Mazu Daoyi.: Egaku then returned to Japan.