Emperor Kōnin
In 797 he was appointed as the envoy to Japan's Nara Court, where he is said to have become one of the favorites of the Japanese Emperor Kōnin. He may have been the same Kim Am who published a book ("Ha-do Keui") about his travel to Japan about that time.