Ekalavya worked as an archer of King Jarasandha. When Jarasandha planned to besiege Mathura, he was aided by Eklavya who was a skillful archer. Eklavya also helped Jarasandha and Shishupala by chasing Rukmini while she eloped with Krishna. After Jarasandha’s demise, Ekalavya sought to avenge him by campaigning to destroy Kuntibhoja and every Yadava in Dwarka. During the attack, he was slayed by Krishna. According to some legends Eklavya survived his battle against the yadavas and somehow reached the court of Duryodhan and was greeted by the prince. He is also said to have made Eklavya the king of all forests in hastinapur. Eklavya became a close friend of the crown prince. He was killed by Krishna who broke his skull from a rock when he tried to kill his son Samba under the order of Duryodhan.