Naib Kafur, and it cannot be determined whether they were despatched in 1302-03 or in 1306-07.
As the Musalmans carried their arms southwards, they made use of Deogir as a base and source of supplies. Thus when Malik Naib Kafur marched in 1309 against the Telinga kingdom of Warangal, Ram Deo assisted him with treasure, elephants and horses. In 1310, when the same general marched through Deogir on his way to Dhorasamudra, the capital of the Hoysala Yadavas of the south. Ram Deo had, according to the historian Barani, who disposes of the Hindu's fate in a Calvinistic spirit, "gone to hell" and Shankar Deo ruled in Deogir. Early in 13 17 Ala-ud-din himself died, or, as was believed, was murdered by Malik Naib Kafur. Khizr Khan, the heir-apparent, had been thrown into prison, and Shahab-ud-din Umar, Ala-ud-din's youngest son, was raised to the throne, but was deposed and blinded in the following year by his brother Qutb-ud-din Mubarak, who ascended the throne. In 1318 Harpal Deo, son-in-law of Ram Deo, was ruling at Deogir, and in the course of the disturbances which followed on Ala-ud-din's death, had thrown off his allegiance to Delhi. In this year Qutb-ud-din Mubarak Shah set forth to chastise him and to recover Deogir. Harpal Deo fled on the emperor's approach but was pursued and captured and was then flayed alive. Thus ended the line of the Yadava Rajas of Deogir.
Qutb-ud-din Mubarak Shah remained during the rainy season at Deogir, engaged in bringing the Maratha country for the first time under Muhammadan rule and in building the great mosque which still stands at Deogir. This structure is a monument of the establishment of Islam in the south. The numerous pillars which support its roof are purely Hindu in design and were evidently taken from some temple which stood on or near the spot where the mosque now stands. The effect of the Hindu carvings in the temple of monotheism is most incongruous, perhaps designedly so, for Qutb-ud-din Mubarak, who was three parts debauchee and one part theologian, evidently intended them to bear witness to future ages of the downfall of Hinduism and the establishment of Islam. The emperor, during his stay in Deogir, established military posts throughout the Gulbarga, Sagar, and Dhorasamudra country, and parcelled out Maliarashtra among Muhammadan jagirdars.