qnli question: In the development of which religions did Magadha participate? sentence: Magadha played an important role in the development of Jainism and Buddhism, and two of India's greatest empires, the Maurya Empire and Gupta Empire, originated from Magadha.