Amongst the sixteen Mahajanapadas, the kingdom of Magadha rose to prominence under a number of dynasties that peaked in power under the reign of Asoka Maurya, one of India's most legendary and famous emperors. The kingdom of Magadha had emerged as a major power following the subjugation of two neighbouring kingdoms, and possessed an unparalleled military.
Haryanka dynasty: According to tradition, the Haryanka dynasty founded the Magadha Empire in 684 BC, whose capital was Rajagriha, later Pataliputra, near the present day Patna. This dynasty was succeeded by the Shishunaga dynasty.
Shishunaga dynasty :This period saw the development of two of India's major religions. Gautama Buddha in the 6th or 5th century BC was the founder of Buddhism, which later spread to East Asia and South-East Asia, while Mahavira founded Jainism. This dynasty lasted till 424 BC, when it was overthrown by the Nanda dynasty.
Nanda dynasty
The Nanda dynasty was established by an illegitimate son of the king Mahanandin of the previous Shishunaga dynasty. Mahapadma Nanda died at the age of 88, ruling the bulk of this 100-year dynasty. The Nandas were followed by the Maurya dynasty. It is said that rumors of the huge size of the Nanda army was in part responsible for the retreat of Alexander from India.
Maurya dynasty : In 321 BC, exiled general Chandragupta Maurya, under direct patronage of the genius of Chanakya, founded the Maurya dynasty after overthrowing the reigning king Dhana Nanda to establish the Maurya Empire. During that time, most of the subcontinent was united under a single government for the first time. Capitalising on the destabilization of northern India by the Persian and Greek incursions, the Mauryan empire under Chandragupta would not only conquer most of the Indian subcontinent, but also push its boundaries into Persia and Central Asia, conquering the Gandhara region. Chandragupta Maurya was influenced by the jainacharya Bhadrabahu and he adopted Jainism.He is credited for the spread of Jainism in southern Indian region. Chandragupta was succeeded by his son Bindusara, who expanded the kingdom over most of present day India, barring Kalinga, and the extreme south and east, which may have held tributary status. Modern day India is an image of the Mauryana, that tied all the peoples and cultures of the erstwhile separate kingdoms under one banner, and predicted a common destiny for all Indians (then mainly Hindus and Buddhists). The tradition was continued later by the Mughals and the British, who formed similar empires.
Bindusara's kingdom was inherited by his son Ashoka The Great who initially sought to expand his kingdom. In the aftermath of the carnage caused in the invasion of Kalinga, he renounced bloodshed and pursued a policy of non-violence or ahimsa after converting to Buddhism. The Edicts of Ashoka are the oldest preserved historical documents of India, and from Ashoka's time, approximate dating of dynasties becomes possible. The Mauryan dynasty under Ashoka was responsible for the proliferation of Buddhist ideals across the whole of East Asia and South-East Asia, fundamentally altering the history and development of Asia as a whole. Ashoka the Great has been described as one of the greatest rulers the world has seen. Ashoka's grandson Samprati adopted Jainism.He was influenced by the teachings of a great jain acharya Arya Suhasti. Following the lines of Ashoka, Samprati spread Jainism in many parts of this world and Indian sub-continent.It is said that Samprati built 1,25,000 Jain Temples all over India, many of which are worshipped today as well.