Bihar has a long history that dates back to the foundation of the Mahajanapada (great kingdom) of Magadha in southern Bihar, with its capital first at Rajgriha, present-day Rajgir, and later at Pataliputra,
modern-day Patna. Over the centuries, several dynasties ruled Magadha and gave rise to two of India’s great empires—the Maurya empire and the Gupta empire. Both these empires witnessed great
advancements in mathematics, astronomy, literature, philosophy, science and statecraft, and saw the emergence of new religions such as Buddhism and Jainism.