nun. 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. A story 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. The A-yu-wang-chuan states that a 7-year-old Buddhist converted Ashoka. Another story claims that the young boy ate 500 Brahmanas who were harassing Ashoka for being interested in Buddhism; these Brahmanas later miraculously turned into Buddhist bhikkus at the Kukkutarama monastery, which Ashoka visited. Several Buddhist establishments existed in various parts of India by the time of Ashoka's ascension. It is not clear which branch of the Buddhist sangha influenced him, but the one at his capital Pataliputra is a good candidate. Another good candidate is the one at Mahabodhi: the Major Rock Edict 8 records his visit to the Bodhi Tree – the place of Buddha's enlightenment at Mahabodhi – after his tenth regnal year, and the minor rock edict issued during his 13th regnal year suggests that he had become a Buddhist around the same time. Reign after Buddhist influence Construction of Stupas and Temples Both Mahavamsa and Ashokavadana state that Ashoka constructed 84,000 stupas or viharas. According to the Mahavamsa, this activity took place during his fifth–seventh regnal years. The Ashokavadana states that Ashoka collected seven out of the eight relics of Gautama Buddha, and had their portions kept in 84,000 boxes made of gold, silver, cat's eye, and crystal. He ordered the construction of 84,000 stupas throughout the earth, in towns that had a population of 100,000 or more. He told Elder Yashas, a monk at the Kukkutarama monastery, that he wanted these stupas to be completed on the same day. Yashas stated that he would signal the completion time by eclipsing the sun with his hand. When he did so, the 84,000 stupas were completed at once. The Mahavamsa states that Ashoka ordered construction of 84,000 viharas (monasteries) rather than the stupas to house the relics. Like Ashokavadana, the Mahavamsa describes Ashoka's collection of the relics, but does not mention this episode