The Andhakas, the Yadavas the Bhojas, uniting together, abandoned Kansa. At the request (of the whole tribe) Kansa was kill by that slayer of foes, Krishna.
अन्धका यादवा भोजाः समेताः कंसमत्यजन्। नियोगात् तु हते तस्मिन् कृष्णेनामित्रघातिना॥