The "Brahma Vaivarta Purana" narrates that the celestial cow – called Kapila here – produces various weapons and an army to aid Jamadagni defeat the king's army, who had come to seize her. When the king himself challenged Jamadagni for battle, Kapila instructed her master in martial arts. Jamadagni led the army created by Kapila and defeated the king and his army several times; each time sparing the life of the king. Finally, with the aid of a divine spear granted to him by the god Dattatreya, the king killed Jamadagni.