In 777, he went to Tang as 遣唐使判官 (Third Officer of the Envoy to Tang China), and the following year, 778, he returned to Japan, drifted to Amakusa County, Higo Province
777年（宝亀8年）遣唐使判官として入唐、翌778年（宝亀9年）肥後国天草郡に漂着し帰朝した。