The battle took place on May 6, 1831, in Balakot (present-day Khyber Pakhtunkhwa, Pakistan). Syed Ahmad Barelvi, leading a reformist Islamic movement, had declared jihad against the Sikh Empire ruling the Peshawar region.