Sultan, wanting to punish Raja Man Singh Tomar, and to expand his territory, launched a punitive expedition against Gwalior. In 1501, he captured Dholpur, a dependency of Gwalior, whose ruler Vinayaka-deva fled to Gwalior. Sikandar Lodi then marched towards Gwalior, but after crossing the Chambal River, an epidemic outbreak in his camp forced him to halt his march. Raja Man Singh Tomar used this opportunity to reconcile with Lodi, and sent his son Kunwar Vikramaditya to the Lodi camp with gifts for the Sultan. He promised to expel the rebels from Delhi, on the condition that Dholpur be restored to Vinayaka-deva. Sikandar Lodi agreed to these terms, and left. Historian Kishori Saran Lal theorizes that Vinayaka Deva hadn't lost Dholpur at all: this narrative was created by the Delhi chroniclers to flatter the Sultan. In 1504, Sikandar Lodi resumed his war against the Tomar King's of Gwalior. First, he captured the Mandrayal fort, located to the east of Gwalior. He ransacked the area around Mandrayal, but many of his soldiers lost their lives in a subsequent epidemic outbreak, forcing him to return to Delhi. Sometime later, Lodi moved his base to the newly established city of Agra, which was located closer to Gwalior. He captured Dholpur, and then marched against Gwalior, characterizing the expedition as a jihad. From September 1505 to May 1506, Lodi managed to ransack the rural areas around Gwalior, but was unable to capture the Gwalior Fort because of Raja Man Singh Tomar's hit-and-run tactics. A scarcity of food resulting from Lodi's destruction of crops forced Lodi to give up the siege. During his return to Agra, Raja Man Singh Tomar ambushed his army near Jatwar, inflicting heavy casualties on the invaders. Having failed to capture the Gwalior fort, Lodi decided to capture the smaller forts surrounding Gwalior. Dholpur and Mandrayal were already in his control by this time. In February 1507, he captured the Uditnagar (Utgir or Avantgarh) fort lying on the Narwar-Gwalior route. In September 1507, he marched against Narwar, whose ruler (a member of the Tomara clan) fluctuated his allegiance between the Tomaras of Gwalior and the Malwa Sultanate. He captured the fort after a year-long siege. In December 1508, Lodi placed Narwar in charge of Raj Singh Kachchwaha, and marched to Lahar (Lahayer) located to the south-east of Gwalior. He stayed at Lahar for a few months, during which he cleared its neighbourhood