Markandeya is a genius scholar. Due to Lord Shiva's boon to his parents, Markandeya had obtained all the knowledge there was to learn by the age of 11 years!! Impressed by his devotion, Lord Shiva gave him a boon of immortality, telling him that until he wishes so, he cannot die. Lord Shiva also entrusted him with the Maha Mrityunjaya Mantra, which has the power to free any person from death. This mantra proved useful to ressurect Chandrama.