Historically a town of British India, it was founded in the mid-eighteenth century by a local leader named Nawab Afzal Ali Khan, who also built a fort in the area, which was dismantled after the Indian Rebellion of 1857. In 1901, Afzalgarh had a population of 6,474.