In the 34th Bengal native Infantry regiment of the East India Company, Mangal Pandey, an inhabitant of Ballia in Uttar Pradesh, served as a sepoy. The officers at Barakpur made a decision that would turn out to be very costly for them at a time when nationalist forces were banding together to revolt against the horrors of the British Empire.