Although Buddhism and to to a lesser extent Jainism had expanded across India during the centuries following the Buddha and Mahāvīra, brahmanical practices recognizing the primacy of the Vedas, and more generally faith in various gods, continued alongside them.