Krishna also established an alliance of Yadavas with the Pandavas, a faction of Kurus, who were fighting against the established Kuru Kingdom. This alliance also benefited the Yadavas, strategically. With the help of the Pandavas, they overthrew the Magadha king Jarasandha who was their biggest enemy. For this assistance, Krishna in turn helped the Pandavas to win the Kurukshetra War against the Kurus headed by Duryodhana. Thus the rule of the Pandava Yudhishthira was re-established by Krishna at Indraprastha, the modern-day Delhi.