In the following month, the garrison of the Gulbarga fort revolted against him and declared themselves to be free. The leader of the garrison Daler Khan Bijapuri "reported his desertion from Kam Bakhsh". On 5 November 1708, Shah's camp reached Bidar which is 67 miles north from Hyderabad. Historian William Irvine writes that as his "camp drew nearer desertions from Kam Bakhsh became more and more frequent". On 1 November Kam Bakhsh captured Pam Naik's (the zamindar of Wakinkhera) belongings after he had left his army. Irvine writes that as more and more soldiers left his service as Shah's camp was coming nearer. When his general informed him that the non-payment of salary to his soldiers was responsible for the soldiers deserting him, he replied that: "What need have I of enlisting them? My trust is in God, and whatever is best will happen." Shah thought that in such a bankrupt condition, Kam Bakhsh might flee to Persia. On his orders, the Mughal prime minister Zulfikar Khan signed a pact with a certain Mr.Pitt, the governor of Madras that he would be paid two lakh rupees if he could capture Kam Bakhsh, in case he tries to flee. Records show that on 20 December, he had twenty five hundred cavalry and five thousand infantry. War against Bahadur Shah and death 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. On 13 January, Shah's army charged towards him. The troops were divided in two bodies – one was under the commandant of Mumin Khan and was assisted by Rafi-ush-Shan and Jahan Shah and the second under Zulfikar Khan. There were an estimation of fifteen thousand soldiers in Shah's army. After two hours from sunrise, the emperor's troops surrounded Kam Bakhsh's camp. Being impatient, Khan attacked him with his "small force". With his soldiers being outnumbered and unable to resist the attack, Kam Bakhsh himself started shooting arrows at the