In the siege of Ranthambore by Alauddin Khilji in 1303, the fort's commander Hammir Deva was betrayed by his own generals, Ranmal and Ratipal. Their betrayal led to the fall of the fort and the death of Hammir Deva.