Lodi dynasty
The city later came under the rule of Sayyid dynasty and Lodi dynasty before Babur defeated Ibrahim Lodi in the first battle of Panipat.