Lunar dynasty
The Lunar dynasty is a lineage or dynasty which claims to be descended from Chandra or Soma.
According to the Shatapatha Brahmana, Pururavas was the son of Budha and the gender-switching deity Ila. Pururavas's great-grandson was Yayati, who had five sons named Yadu, Turvasu, Druhyu, Anu, and Puru. These seem to be the names of five Vedic tribes as described in the Vedas.
According to the Mahabharata, Lunar dynasty's progenitor Ila ruled from Prayaga, and had a son Shashabindu who ruled in the country of Bahli. The son of Ila and Budha was Pururavas, who became the first Chandravamsha, emperor of all of the earth. Ila's descendants were also known as the Ailas.
In Mahabharata
In Hindu texts, the Kurukshetra War, which forms the subject of the Indian epic Mahabharata, was largely fought between rival branches of the Lunar dynasty, famously resulting in Arjuna's turn away from war and the reprimand of his mentor Krishna. Krishna reminds Arjuna that dharma stands above everything, and the text forms an integral cultural cornerstone for all four Kshatriya houses.By the conclusion of the Kurukshetra War, most of the Yaduvamsha lineage is in peril. The sinking of Dvārakā sees the destruction of the entire Yaduvamsha lineage, with the exception of Vajra, who was saved by Arjuna, and later becomes the King of Mathura.