Task: Question Generation
Input (English): Passage: The Mughal Emperor Aurangzeb died in 1707. He was succeeded by Bahadur Shah I, but there was a general decline in central control over the empire during the tenure of Jahandar Shah and later emperors. Nizam-ul-Mulk established Hyderabad as an independent kingdom. A power struggle ensued after his death between his son, Nasir Jung, and his grandson, Muzaffar Jung, which was the opportunity France and England needed to interfere in Indian politics. France aided Muzaffar Jung while England aided Nasir Jung. Several erstwhile Mughal territories were autonomous such as the Carnatic, ruled by Nawab Dost Ali Khan, despite being under the legal purview of the Nizam of Hyderabad. French and English interference included those of the affairs of the Nawab. Dost Ali's death sparked a power struggle between his son-in-law Chanda Sahib, supported by the French, and Muhammad Ali, supported by the English. One major instigator of the Carnatic Wars was the Frenchman Joseph François Dupleix, who arrived in India in 1715, rising to become the French East India Company's governor in 1742. Dupleix sought to expand French influence in India, which was limited to a few trading outposts, the chief one being Pondicherry on the Coromandel Coast. Immediately upon his arrival in India, he organized Indian recruits under French officers for the first time, and engaged in intrigues with local rulers to expand French influence. However, he was met by the equally challenging and determined young officer from the British Army, Robert Clive. "The Austrian War of Succession in 1740 and later the war in 1756 automatically led to a conflict in India...and British reverses during the American War of Independence  in the 1770s had an impact on events in India.".
Output (English): Who died first, Jahandar Shah or Nasir Jung?