The Pandavas had ruled for several decades ... At last, he left the palace and chose to live the life of an ascetic. Eventually, he attained liberation, with his soul merging back into Yama.