Following the victory of Babur over the Lodhi Dynasty, Sangram Singh gathered a coalition of Rajputs from the kingdoms of Rajasthan. They were joined by Muslim Rajputs from Mewat and Afghans under Mahmud Lodhi, the son of Sikandar Lodhi of Delhi. This alliance fought against Babur in the Battle of Khanwa to expel Babur from India.