Śāriputra was one of the top disciples of the Buddha. He is considered the first of the Buddha's two chief male disciples, together with Maudgalyāyana. Śāriputra had a key leadership role in the ministry of the Buddha and is considered in many Buddhist schools to have been important in the development of the Buddhist Abhidharma. He frequently appears in Mahayana sutras, and in some sutras, is used as a counterpoint to represent the Hinayana school of Buddhism.
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 ordination. 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.