After the end of Kurukshetra battle, the Pandav started ruling Hastinapura. Gandhari who has lost her all sons were in grief and cursed Lord Krishna that his all sons will also die. After that, all Yadavas were begun misbehaving to rishis. Rishis then cursed yadavas and then all Yadavas died painfully.