 Shamsabad, being a strategic town on the fluid boundary between the Lodis of Delhi (1451–1526) and the Sharqi kings of Jaunpur, was a hot spot and exchanged hands between the two.There is still a graveyard in the east of Shamsabad known as 'ganj-e-shaheedan' where a battle was fought between the Lodis and the Sharqis.Both Khizr Khan (1414–1421) and Sikandar Lodi (1489–1517), Delhi Sultanat kings, came to Shamsabad.