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.
Answer in sentence: yes