Their message demanding back their possessions receiving no answer, they prepared for war. The rival armies met in the sacred region of Kurukshetra, with numerous allies on both sides. Joined with the Kurus were, among others, the people of Kosala, Videha, Anga, Banga (Bengal), Kalinga on the east, and those of Sindhu, Gandhāra, Bahlīka (Balk), together with the Çakas and Yavanas on the west. The Pāṇḍus, on the other hand, were aided by the Panchālas, the Matsyas, part of the Yādavas under Kṛishṇa, besides the kings of Kāçi (Benares), Chedi, Magadha, and others (v.).

The battle raged for eighteen days, till all the Kurus were destroyed, and only the Pāṇḍavas and Kṛishṇa with his charioteer escaped alive. The account of it extends over five books (vi.–x.). Then follows a description of the obsequies of the dead (xi.). In the next two books, Bhīma, the leader of the Kurus, on his deathbed, instructs Yudhishṭhira for about 20,000 çlokas on the duties of kings and other topics.

The Pāṇḍus having been reconciled to the old king Dhṛitarāshṭra, Yudhishṭhira was crowned king in Hastināpura, and instituted a great horse-sacrifice (xiv.). Dhṛitarāshṭra having remained at Hastināpura for fifteen years, at length retired, with his wife Gāndhārī, to the jungle, where they perished in a forest conflagration (xv.). Among the Yādavas, who had taken different sides in the great war, an internecine conflict broke out, which resulted in the annihilation of this people. Kṛishṇa sadly withdrew to the wilderness, where he was accidentally shot dead by a hunter (xvi.).

The Pāṇḍus themselves, at last weary of life, leaving the young prince Parīkshit, grandson of Arjuna, to rule over Hastināpura, retired to the forest, and dying as they wandered towards Meru, the mountain of the gods (xvii.), ascended to heaven with their faithful spouse (xviii.).

Here the framework of the great epic, which begins at the commencement of the first book, comes to an end. King Parīkshit having died of snake-bite, his son Janamejaya instituted a great sacrifice to the serpents. At that sacrifice the epic was recited by Vaiçampāyana, who had learnt it from Vyāsa. The latter, we are told, after arranging the four Vedas, composed the Mahābhārata, which treats of the excellence of the Pāṇḍus, the greatness of Kṛishṇa, and the wickedness of the sons of Dhṛitarāshṭra.

The supplementary book, the Harivaṃça, or “Family of Vishṇu,” is concerned only with Kṛishṇa. It contains more than 16,000 çlokas, and is divided into three sections. The first of these describes the history of Kṛishṇa’s ancestors down to the time of Vishṇu’s incarnation in him; the second gives an account of Kṛishṇa’s exploits; the third treats of the future corruptions of the Kali, or fourth age of the world.

The episodes of the Mahābhārata are numerous and often very extensive, constituting, as we have seen, about four-fifths of the whole poem. Many of them are interesting for various reasons, and some are distinguished by considerable poetic beauty. One of them, the story of Çakuntalā (occurring in Book I.), supplied Kālidāsa with the subject of his famous play. Episodes are specially plentiful in Book III., being related to while away the time of the exiled Pāṇḍus. Here is found the Matsyopākhyāna, or “Episode of the fish,” being the story of the flood, narrated with more diffuseness than the simple story told in the Çatapatha Brāhmaṇa. The fish here declares itself to be Brahmā, Lord of creatures, and not yet Vishṇu, as in the Bhāgavata Purāṇa. Manu no longer appears as the progenitor of mankind, but as a creator who produces all beings and worlds anew by means of his ascetic power.

Another episode is the history of Rāma, interesting in its relation to Vālmīki’s Rāmāyaṇa, which deals with the same subject at much greater length. The myth of the descent of the Ganges from heaven to earth, here narrated, is told in the Rāmāyaṇa also.

Another legend is that of the sage Ṛiçya-çṛinga, who having produced rain in the country of Lomapāda, king of the Angas, was rewarded with the hand of the princess Çāntā, and performed that sacrifice for King Daçaratha which brought about the birth of Rāma. This episode is peculiarly important from a critical point of view, as the legend recurs not only in the Rāmāyaṇa, but also in the Padma Purāṇa, the Skanda Purāṇa, and a number of other sources.

Of special interest is the story of King Uçīnara, son of Çibi, who sacrificed his life to save a pigeon from a hawk. It is told again in another part of Book III. about Çibi himself, as well as in Book XIII. about Vṛishadarbha, son of Çibi. Distinctly Buddhistic in origin and character, the story is famous in Pāli as well as Sanskrit literature, and spread beyond the limits of India.