Due to Hamir’s success stories, the founder of Khilji dynasty Jalaluddin Khilji was
attracted to- Ranthambore. In 1291 CE Jalaluddin attacked Thain fort and came out victorious. He destroyed the architecture and temples of the fort. After this victory, he turned towards Ranthambore. Hamir arranged for supplies etc. and fought against Sultan by defensive war techniques. After this attack even after many days when Jalaluddin did not succeed, he returned back to Delhi. Immediately after the sultan returned, Hamir took control over the fort of Thain. In 1292 CE Jalaluddin tried to win over Ranthambore again but he could not succeed.