Devapi is an immortal sage. 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 brother Shantanu 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 Kaliyuga at a place called Kalapagrama and will revive the Paurava dynasty in the next Kritayuga.