on a battle field, so Krishna challenged him to a duel. While fighting, Krishna lures him into a mountain where the great king Muchukunda lay asleep. Muchukunda had left his kingdom to help the devas in a great war against the asuras, he stayed and protected Svargaloka for 1 year until the asuras were finally defeated. Indra tells Muchukunda to ask a boon as they can grant him anything but Muchukunda says that he doesn't want anything as helping them was his pleasure and that he just wants to return home, Indra sadly replies that though only 1 year has passed in Svarga 360 years have passed on earth and that all of his family had died. Muchukunda was saddened and asked him for eternal sleep, so Indra grants him the boon that anybody who distubs his sleep would turn to ashes. Krishna knew that Machhakunda was sleeping on the mountain but Kalayavana didn't, so when Krishna finds Muchukunda he covers him with a shawl that Krishna was wearing. Kalayavana upon seeing a sleeping man covered with Krishna's shawl thought that Krishna was pretending to sleep in order to escape him, as it's against the rules of war to attack a sleeping man. Kalayavana kicks him to make him stand up which wakes up Muchukunda and from his eyes great flames erupt causing Kalayavana to burn up and as he was not on the battlefield he died without violating his boon. Krishna then grants Muchukunda moksha, or freedom from the cycle of death and rebirth. Jarasandha keeps attacking Mathura and eventually Krishna orders Vishvakarma, the divine architect, to craft a magnificent city near the sea which is done overnight, then Krishna transports the entire population of Mathura to the new city, which was named Dvaraka. When Jarasandha attacks again he sets the city of Mathura ablaze, Krishna and Balarama merely use their powers to go to Dvaraka unscathed. Jarasandha thinks that Krishna has died and returns to his own land. But in a short while, when Jarasandha was sitting in Dratharashtras court learns that Krishna has only changed the capital. Later life and death In the Shanti Parva of Mahabharata, Jarasandha fought with Karna after the svayamvara of daughter (Bhanumati) of Chitrangada. After a tough fight, Karna defeated him. To please Karna, Jarasandha gifted him the land of Malini to rule. He was also a major hurdle before emperor Yudhishthira