During the 1857 uprising against the East India Company, Kanpur (then spelled Cawnpore) had fallen to the rebel leader Nana Sahib. The Company forces led by Major General Henry Havelock recaptured the town on 17 July 1857. Soon after he arrived at Cawnpore, Havelock received news that Henry Lawrence, the British Resident in Awadh (referred to at the time as "Oudh") had died, and that the Company forces were besieged and facing a defeat at Lucknow. Havelock decided to attempt to relieve Lucknow. He fought against the rebel forces blocking his way, winning victories at Unnao (or Unao) and Bashiratganj (or Bashiratgunj), though at a high cost in casualties. However, he was soon informed that the Gwalior army had also rebelled against Company rule. Havelock realized that his forces were not strong enough to fight their way to Lucknow, and returned to Cawnpore on 13 August to await reinforcements.