sentences:  Instability prevailed in Peninsular India in the aftermath of the defeat of the Yadavas of Deogiri and Kakatiyas of Warangal in the early 14th century by the Tughlaqs.In response to the Moslem irruptions the Kingdom of Vijayanagar was founded in 1336, and came to be locked in an existential struggle with the Bahmani Sultanate from 1347 to 1490, when the Moslem state broke up.This early period was marked by much strife, especially in the "jihads" of Taj ud-Din Firuz Shah (1397–1422) and his brother Ahmad Shah I Wali (1422–1435), when thousands of Hindus, especially Brahmins, were enslaved and temples of the northern Deccan desecrated.