The general
吕光 carried him off from Kucha in 384 and kept him for some seventeen years in the Hexi Corridor, where he learned Chinese. In 401 the Later Qin ruler
姚兴 brought him to
长安, where he led the teams that translated the Lotus, Diamond and Amitabha sutras.