text: In post Vedic texts like the Ramayana, the Mahabharata and the Puranas, Soma is mentioned as a lunar deity and has many epithets including Chandra. According to most of these texts, Chandra, along with his brothers Dattatreya and Durvasa, were the sons of the sage Atri and his wife Anasuya. The Devi Bhagavata Purana states Chandra to be the avatar of the creator god Brahma. Some texts contain varying accounts regarding Chandra's birth. According to one text, he is the son of Dharma; while another mention Prabhakar as his father. Many legends about Chandra are told in the scriptures.
  In one version of the puranas, Chandra and Tara—the star goddess and the wife of devas' guru Brihaspati—fell in love with each another. He abducted her and made her his queen. Brihaspati, after multiple failed peace missions and threats, declared war against Chandra. The Devas sided with their teacher, while Shukra, an enemy of Brihaspati and the teacher of Asuras, aided Chandra. After the intervention of Brahma stopped the war, Tara, pregnant, was returned to her husband. She later gave birth to a son named Budha, but there was a controversy over the paternity of the child; with both Chandra and Brihaspati claiming themselves as his father. Brahma once again interfered and questioned Tara, who eventually confirmed Chandra as the father of Budha. Budha's son was Pururavas who established the Chandravamsha Dynasty.
  Chandra married 27 daughters of Prajapati Daksha — Ashvini, Bharani, Krittika, Rohini, Mrigashiras, Ardra, Punarvasu, Pushya, Ashlesha, Magha, Pūrvaphalguni, Uttaraphalguni,
  Hasta, Chitra, Svati, Vishakha, Anuradha, Jyeshtha,
  Mula, Purvashadha, Uttarashadha, Shravana, Dhanishta,