Magadha, another region of Bihar was the centre of Indian power, learning and culture for about a thousand years. One of India's greatest empires, the Maurya empire, as well as two major pacifist religions, Buddhism and Jainism, arose from the region that is now Bihar. Magadha empires, most notably the Maurya and Gupta empires, unified large parts of the Indian subcontinent under their rule. Their capital Pataliputra, adjacent to modern-day Patna, was an important political, military and economic centre of Indian civilisation during the ancient and classical periods of Indian history. Many ancient Indian texts, aside from religious epics, were written in ancient Bihar. The play Abhijñānaśākuntala was the most prominent.