After taking possession of the treasury, Nana Sahib advanced up the Grand Trunk Road. His aim was to restore the Maratha Confederacy under Peshwa tradition, and he decided to capture Cawnpore. On his way, Nana Sahib met with rebel soldiers at Kalyanpur. The soldiers were on their way to Delhi, to meet Bahadur Shah II. Nana Sahib initially decided to march to Delhi and fight the British as a Mughal subordinate, but Azimullah Khan advised him that leading the rebels in Kanpur would increase his prestige more than serving a weak Muslim king.