Buddhist texts relate that Śāriputra and Maudgalyāyana were childhood friends who became spiritual wanderers in their youth. After having searched for spiritual truth with other contemporary teachers, they came into contact with the teachings of the Buddha and ordained as monks under him, after which the Buddha declared the friends his two chief disciples. Śāriputra was said to have attained enlightenment as an "arhat" two weeks after ordaining. As chief disciple Śāriputra assumed a leadership role in the Sangha, doing tasks like looking after monks, assigning them objects of meditation, and clarifying points of doctrine. He was the first disciple the Buddha allowed to ordain other monks. Śāriputra died shortly before the Buddha in his hometown and was cremated. According to Buddhist texts, his relics were then enshrined at Jetavana Monastery. Archaeological findings from the 1800s suggest his relics may have been redistributed across the Indian subcontinent by subsequent kings.