In medieval India, Ranthambhore was an important Kingdom in the eyes of the Sultans of Delhi because it guarded the passage to Central India. Muslim invasions brought about major political changes in North India.
In Rajasthan Chauhan kingdoms of Sapadalaksha and Nadol disappeared. Govinda, Grandson of Prithviraj Chauhan established himself at Ranthambhore and rules as a feudatory of the Sultan of Delhi. However relations between Delhi and Ranthambhore changed when Fitutmish deceitfully got Virnarayan the ruler of Ranthambhore assassinated and occupied Ranthambhore. Virnarayan uncle Vagbhat escaped to Malwa and ultimately founded a small Kingdom for himself bordering Ranthambhore. In the wake of disturbances after the death of Iltutmish, Vagbhat attacked Ranthambhore with a small army. He surrounded the fort and ultimately Rajia Sultan, the ruler of Delhi could barely get the Starving Garrison out of the fort.
Vagbhat ruled Ranthambhore continuously for 12 years struggling with the sultan of Delhi. The internal quarrels within the sultans and the Mughal invasion left the Sultan with little time to check the growing powers of Vaghbhat. Vaghbhat built a beautiful temple at Jhain and beautified Ranthambhore.
Vagbhat was succeeded by Jaitrasingh who continued the struggle against Delhi and Malwa. In 1253 Balban attacked Ranthambhore but could only capture some horses and had to leave.
Hammir succeeded Jaitrasingh in 1283 A.D and launched a career carrying out raids into Malwa and Gujarat. He defeated the ruler of Chittor and received tribute from the ruler of Abu. His power also reached Pushkar, Sakambhari and Champa.
In 1290 Jalaluddin Khilji attacked Ranthambhore but was repulsed.
In 1298 A.D Hammir gave refuge to Muhammed Shah, A Rebel Against Alauddin Khilji, the Sultan of Delhi. Allaudin's general Ulugh Khan sent an envoy to Hammir demanding the death of Muhammed Shah but Hammir declined saying he could not harm anyone who had sought shelter with him even though the Turks might come from all directions. Allaudin Khilji ordered the fort to be besieged from all sides. Hammir fought valiantly. Ultimately Allauddin Khilji himself marched to Ranthambhore. In spite of all the strategies adopted by him the fort withstood. However soon the fort started feeling the pinch of the siege. Famine in the fort was acute. However Rao Hammir refused to compromise. At this stage treachery raised its heads in the form of Hammirs generals - Ratipal and Ranmal. Allauddin Khilji enticed Ratipal by promising him the Kingdom of Ranthambhore if he helped him in capturing the fort. Ultimately Hammir opted for the fight unto Death. Thousand of ladies in the fort performed "Jauhar" by jumping into fire and the men rushed out of the fort to fight unto death. Hammir and his loyal generals were killed in the battle and Khilji took over the fort in July 1301 A.D.