Born in 1592 in Fuqing, Fujian Province, Ming China. He became abbot of Huangboshan Wanfusi in Fujian and was a renowned Chan master. During the Ming-Qing transition, he came to Japan in 1654 at the invitation of Chinese residents in Nagasaki. Originally planning a three-year stay, he gained the patronage of Shogun Tokugawa Ietsuna and in 1661 founded Ōbakusan Manpukuji in Uji. He transmitted Chinese-style temple architecture, chanting, and fucha cuisine, establishing the third Zen school in Japan. He also brought sencha tea, green beans (named ingen-mame after him), watermelon, lotus root, bamboo shoots, and wooden fish drums. He died in 1673 at age eighty-two.