Devapi or Devāpi Arṣṭiṣeṇa, is an immortal sage. According to the Nirukta, the Brihaddevata, the Mahabharata, and the Puranas, he was a Kuru prince and the eldest son of King Pratipa of Hastinapura. He was a noble and well-liked prince but he was not allowed to succeed Pratipa, because he was affected with leprosy and the council of Brahmins and elderly citizens were opposed to this proposal. As a result of this, his younger brotherShantanu succeeded Pratipa as the king of Hastinapura. Later Devapi retired to the forest for penance. According to the Matsya Purana and the Bhagavata Purana, he along with the sage Maru will remain alive till the end of the present Kali Yuga at a place called Kalapagrama and will revive the Paurava dynasty in the next Satya Yuga.
Drought in Kuru realm
According to the Brihaddevata of Shaunaka, when Devapi abdicated the throne in favour of Shantanu and left for the forest, the realm of Kuru suffered from severe drought for twelve years, as Parjanya did not rain. Finally, Shantanu along with his subjects went to the forest and offered him the Kuru throne, which he declined. Instead, he agreed to become Shantanu's purohita and conduct a yajna for him to produce rain. A later version of this narrative is found in the Vishnu Purana, but there, according to Romila Thapar, the Vedic narrative is readjusted to highlight the importance of primogeniture. According to the Vishnu Purana, the reason of drought, as explained to Shantanu by his brahmin ministers, was the displeasure of the gods because of Shantanu's ascending the throne in place of his elder brother, a violation of the law of primogeniture. When a wily minister of Shantanu heard this, he dispatched a number of heretics to the forest, who perverted the simple-minded prince Devapi in anti-Vedic doctrines. When the Brahmins sent by Shantanu came to the forest to offer him the throne, he advanced arguments contrary to the precepts of the Vedas. As a result, Brahmins declared him degraded and unfit to rule, whereupon there was rain.
In Vedic literature, Devapi is always mentioned as Devāpi Arṣṭiṣeṇa, though the later texts, the Mahabharata and the Puranas mention Devāpi and Arṣṭiṣeṇa as different persons. The earliest reference is found in the Rigveda. Modern scholars are not unanimous about the true meaning of Arṣṭiṣeṇa. F. E. Pargiter argues that it means Devapi was son of king Ṛṣṭiṣeṇa, and so both Shantanu and Devapi were actuallygrandsons of Pratipa, but other modern scholars, which include S.N. Pradhan and V.S. Misra believe, that, Devapi after becoming a brahmana, entered Ṛṣṭiṣeṇa gotra.