It is said that after the battle of Kurukshetra, when Pandavas renounced their princely status and went off to seek penance, not all of them could make it to heaven. When they treaded towards the forests, their journey was called the ‘Mahaprasthana’ and it led them to the Swargarohini, which translates to ‘Ascent to Heaven’.
According to legends, when the Pandavas set on their final journey from the village of Mana, one by one, they died because of their sins. Draupadi died because of her love for Arjuna, Bhima died for his gluttony, and so on. The last Pandav standing was Yudhishthir, the eldest one.