Vitatha, a noble ancestor, fathered five sons: Suhotra, Suhotāra, Gaya, Garga, and Kapila, who was renowned for his greatness of soul. Kapila himself had two sons. Suhotra's lineage continued with Kāśika, celebrated for his truthfulness, and Gṛtsamati, who was a king. From Gṛtsamati sprang sons who belonged to the three main varnas: Brāhmaṇas, Kṣatriyas, and Vaiśyas. Kāśika's own son was Kāśeya, and he also fathered Dīrghatapas. Dīrghatapas was blessed with a learned son, Dhanvantari, and Dhanvantari's son was Ketumān, whose name was widely known. Ketumān's son was the wise Bhīmaratha, and Bhīmaratha's son became the ruler of Vārāṇasī. This ruler was Divodāsa, famed as the destroyer of all Kṣatriyas. Divodāsa's son was the valiant king Pratardana. Pratardana had two sons: Vatsa, who belonged to the Bhārgava lineage, and Alarka, a royal prince esteemed throughout the world. Alarka, the king, seized the inheritance of Haihaya, reclaiming his ancestral domain which Divodāsa had once taken. Yet, through the compassion of Durdamana, son of Bhadraśreṇya, Divodāsa was released, though he was called Bāla. Aṣṭāratha, son of Bhīmaratha, was also a king, and his son Bāla took possession of the domain, as known among the Brāhmaṇas. When the sages sought to end the feud, Alarka, king of Kāśi, devoted to Brahman and steadfast in truth, took action. Remarkably, Alarka remained youthful in appearance for sixty thousand and sixty hundred years, the foremost among the Kāśi lineage. By the grace of Lopāmudrā, he attained supreme longevity. At the end of his life, he slew the demon Kṣemakara. Alarka established the beautiful city of Vārāṇasī, and his heir, Kṣemaka, ruled there. Kṣemaka's son was Varṣaketu, and Varṣaketu's heir was Vibhu, lord of the people. Vibhu's son was Ānarta, followed by Sukumāra, whose son was Satyaketu, a great charioteer. Satyaketu's son was a king of great splendor and supreme righteousness. Meanwhile, Vatsa's son was Vatsabhūmi, and Bhargabhūmi was descended from Bhārgava. These were the sons of Aṅgiras, born in the Bhārgava lineage, encompassing brāhmaṇas, kṣatriyas, vaiśyas, and śūdras, as told to the sages. Another lineage, that of Ājamīḍha, is also to be heard. Suhotra's son was Bṛhat, and Bṛhat had three sons: Ājamīḍha, Dvimīḍha, and Purumīḍha, all mighty. Ājamīḍha had three wives, all renowned: Nīlī, Keśinī, and Dhūminī, each excellent women. From Keśinī, Ājamīḍha begot Jahnu, a man of great prowess. Jahnu performed the great Sarvamedha sacrifice, as lord. Out of desire for her husband, Gaṅgā, subdued, departed from him. Though Jahnu did not wish it, Gaṅgā flooded his sacrificial hall. Seeing the entire altar inundated, Jahnu, angered, addressed Gaṅgā, declaring, "I shall drink up your waters from all three worlds; Gaṅgā, receive at once the fruit of your arrogance!" When the sages saw that Gaṅgā had been drunk, they brought her forth as a daughter, calling her Jāhnavī. Jahnu took Kāverī, daughter of Yuvanāśva, as his wife; by Gaṅgā's curse, half her body was later made into a river. Jahnu's beloved son was Ajaka, mighty, and Ajaka's heir was Balākāśva, lord of the earth. Kuśika, fond of hunting, was Balākāśva's son; the king grew up among the Pahnava people and forest-dwellers. Kuśika performed intense austerities, desiring a son equal to Indra. Then Śakra, out of fear, approached and was born as his son, becoming King Gādhi. Maghavān himself was thus born as a Kauśika. Gādhi's son was Viśvāmitra, and from Viśvāmitra came Aṣṭaka. Lauhi, son of Aṣṭaka, belonged to the Jahnu lineage, as recounted. Now, another line of Ājamīḍha is to be heard. From Ājamīḍha, through Nīlī, was born Suśānti; from Suśānti came Purujāti, and from Purujāti, Bāhyāśva was born. Bāhyāśva had five sons, renowned and prosperous, who filled the regions: Mudgala, Sṛñjaya, King Bṛhadiṣu, Yavīnara the valiant, and Kṛmilāśva as the fifth. These five were famed as protectors, sufficient for safeguarding the lands, and thus known as the Pañcālas, prosperous and filling the regions, well able to protect their domains. Mudgala's heir was the illustrious Maudgalya, who received from Indrasenā the womb and the son named Vadhnya. Pañcajana was the son of the great-souled Sṛñjaya, and Pañcajana's own son was King Somadatta. Somadatta's heir was the renowned Sahadeva, and Sahadeva's son was the famous Somaka. When the line was diminished, Somaka was born as the son of Ājamīḍha. Somaka's son was Jantu, who had a hundred sons. Of these, the youngest was Pṛṣata, the lord and father of Drupada. These great-souled Somakas are remembered as descendants of Ājamīḍha, continuing the illustrious lineage.