 It ended after a defeat by the armies of Delhi Sultanate, and a "jauhar" (ritual mass suicide) in 1327/28 CE when it faced a certain defeat.The Kampili kingdom in some historical accounts is called the Basnaga kingdom, and as what inspired and ultimately led to the Hindu Vijayanagara Empire.The founder of the kingdom was a Hoysala commander, Singeya Nayaka-III (1280–1300 AD), who declared independence after the Muslim forces of the Delhi Sultanate defeated and captured the territories of the Seuna Yadavas of Devagiri in 1294 CE.