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. These empires saw advances in ancient India's science, mathematics, astronomy, religion, and philosophy. This was the Indian "Golden Age".