The history of Bihar is one of the most varied in northern/eastern India. Magadha, a 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 South Asia 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. Another region of Bihar, Mithila is believed to be the centre of Indian Power under the rule of Janaks in the later vedic period. A daughter of one of the Janaks of Mithila, Sita, is mentioned as consort of Lord Rama in the Hindu epic Ramayana, written by Valmiki. The present-day region of Bihar overlaps with several pre-Mauryan kingdoms and republics, including Magadha, Anga and the Vajji confederation. The latter was one of the world's earliest known republics and had existed in the region since before the birth of Mahavira (c. 599 BCE). The classical Gupta dynasty of Bihar presided over a period of cultural flourishing and learning, known today as the Golden Age of India.