A story in Divyavadana attributes Ashoka's conversion to the Buddhist monk Samudra, who was an ex-merchant from Shravasti. According to this account, Samudra was imprisoned in Ashoka's "Hell", but saved himself using his miraculous powers. When Ashoka heard about this, he visited the monk, and was further impressed by a series of miracles performed by the monk. He then became a Buddhist. In the Ashokavadana states that Samudra was a merchant's son, and was a 12-year-old boy when he met Ashoka; this account seems to be influenced by the Nigrodha story.