the new Nawab of Bengal, who was nominated after the sudden death of Miran. Mir Qasim soon had the Mughal Emperor's investiture as Subedar of Bengal, Bihar and Odisha, and agreed to pay an annual revenue of 2.4 million dam. Shah Alam II then retreated to Allahabad was protected by the Shuja-ud-Daula, Nawab of Awadh from 1761 until 1764. Meanwhile, Mir Qasim's relations with the East India company began to worsen. He initiated reforms that withdrew the tax exemption enjoyed by the East India Company, he also ousted Ramnarian a sworn enemy of the Mughal Empire and created Firelock manufacturing factories at Patna with the sole purpose of giving advantage to the newly reformed Mughal Army. Angered by these developments the East India Company sought his ouster. Court intrigues encouraged by the East India Company forced Mir Qasim to leave Bengal, Bihar and Odisha. Mir Qasim on his part encouraged Shuja-ud-Daula the Nawab of Awadh and Shah Alam II to engage the British. Acknowledged emperor Shah Alam II was acknowledged emperor by the Durrani Empire. His declared reign extended to the 24 Parganas of the Sundarbans, Mir Qasim, Nawabs of Bengal and Murshidabad (and Bihar),Raja of Banares, Nizam of Hyderabad, Nawab of Ghazipur, Sahib of Punjab, Hyder Ali's Mysore, Nawab of Kadapa and Nawab of Kurnool, Nawab of the Carnatic of Arcot and Nellore, Nawab of Junagarh, Rohilkhand of Lower Doab, Rohilkhand of Upper Doab, and Nawab of Bhawalpur. Battle of Buxar The Battle of Buxar was fought on 22 October 1764 between the combined armies of Mir Qasim, the Nawab of Bengal; Shuja-ud-Daula the Nawab of Awadh; the Mughal Emperor Shah Alam II and the forces under the command of the East India Company led by Hector Munro. The battle fought at Buxar, a town located on the bank of the Ganges river then within the territory of Bengal, was a decisive victory for the East India Company. Diwani rights Soon after the Battle of Buxar, Shah Alam II, a sovereign who had just been defeated by the British, sought their protection by signing the Treaty of Allahabad in the year 1765. Shah Alam II was forced to grant the Diwani (right to collect revenue) of Bengal (which included Bihar and Odisha) to the East India Company in return for an annual tribute of 2.6 million rupees to be paid by the company from the collected revenue. Tax exempt