On 20 December 1708, Kam Bakhsh marched towards Talab-i-Mir Jumla, on the outskirts Hyderabad with "three hundred camels, twenty thousand rockets" for the war against Bahadur Shah I. Shah made his son Jahandar Shah the commander of the vanguard, but was replaced by Khan Zaman. On 12 January 1709, Shah finally reached Hyderabad and set up his tent training his troops. With little money and soldiers left, Kam Bakhsh was sure of his victory due to the foretelling of the royal astrologer who predicted that he would "miraculously" win the battle.