Shahjahanpur was established by
Diler Khan and Bahadur Khan, sons of Darya Khan, a soldier in army of the
Mughal emperor Jahangir. Darya Khan was originally from
Kandahar, in modern-day
Afghanistan. Both Diler Khan and Bahadur Khan were dignitaries in the regime of
Shah Jahan. Pleased with the services of Diler Khan,
Shah Jahan gave him 17 villages with the permission to construct a
fort in 1647, following the suppression of the rebellious Katheria
Rajputs. The area was then settled by Afghans, brought by Bahadur Khan following one of his campaigns. On 9 August 1925, the Indian
freedom fighters Ram Prasad Bismil,
Ashfaqulla Khan,
Chandrashekhar Azad and
Rajendra Lahiri conducted a
robbery of government funds near
Kakori railway station. Both Ram Prasad Bismil and Ashfaqulla Khan were born in Shahjahanpur. ==Geography==