The fort was first garrisoned by British East India Company troops in 1765 as part of the Treaty of Allahabad, signed after the Battle of Buxar by Commander-in-Chief of British India Robert Clive, Mughal Emperor Shah Alam II, and the ruler of Awadh, Nawab Shuja-ud-Daula. According to this treaty, the British garrison in the fort was to defend and protect Shah Alam, however, Shah Alam, finding this arrangement restrictive, slipped away to Delhi in 1772, where he attempted to cede Allahabad to the Maratha Empire. The British intervened and contrived to nullify Alam's claim to the fort, proclaiming Shuja-ud-Daula its sole owner.
The fort was first occupied by British East India Company soldiers in 1765 as part of the Treaty of Allahabad, signed after the Battle of Buxar by Commander-in-Chief of British India Robert Clive, Mughal Emperor Shah Alam II, and the ruler of Awadh, Nawab Shuja-ud-Daula. According to this treaty, the British garrison was tasked with defending and protecting Shah Alam, however, Shah Alam, finding this arrangement restrictive, fled to Delhi in 1772, where he attempted to cede Allahabad to the Maratha Empire. The British intervened and nullified Alam's claim to the fort, declaring Shuja-ud-Daula its sole owner.