As a philosophical school or movement, skepticism arose both in ancient Greece and India. In India the Ajñana school of philosophy espoused skepticism. It was a major early rival of Buddhism and Jainism, and a possibly major influence on Buddhism. Two of the foremost disciples of the Buddha, Sariputta and Moggallāna, were initially the students of the Ajñana philosopher Sanjaya Belatthiputta, and a strong element of skepticism is found in Early Buddhism, most particularly in the Aṭṭhakavagga sutra, but it is inconclusive the total effect these philosophies had on each other. Since skepticism is a philosophical attitude and a style of philosophizing rather than a position, the Ajñanins may have influenced other skeptical thinkers of India such as Nagarjuna, Jayarāśi Bhaṭṭa, and Shriharsha.