<P> In 1714, the Sirhind faujdar (garrison commander) Zainuddin Ahmad Khan attacked the Sikhs near Ropar . In 1715, Farrukhisyar sent 20,000 troops under Qamaruddin Khan, Abdus Samad Khan and Zakariya Khan Bahadur to defeat Bahadur . After an eight - month siege at Gurdaspur, Bahadur surrendered after he ran out of ammunition . Bahadur and his 200 companions were arrested and brought to Delhi; he was paraded around the city of Sirhind . </P> <P> When Farrukhsiyar's army reached the Red Fort, the Mughal emperor ordered Banda Bahadur, Baj Singh, Bhai Fateh Singh and his companions to be imprisoned in Tripolia . Although the emperor promised to spare the Sikhs who converted to Islam, according to William Irvine "not one prisoner proved false to his faith". On 19 June 1716 Farrukhsiyar had Bahadur and his followers executed, despite the wealthy Khatris of Delhi offering money for his release . </P> <P> In 1717, Farrukhsiyar issued a farman giving the British East India Company the right to reside and trade in the Mughal kingdom . They were allowed to trade freely, except for a yearly payment of 3,000 rupees . This was because William Hamilton, a surgeon associated with the company cured Farrukhsiyar of a disease . The company was given the right to issue dastak (passes) for the movement of goods, which was misused by company officials for personal gain . </P> <P> By 1715, Farrukhsiyar had given Mir Jumla III the power to sign documents on his behalf: "The word and seal of Mir Jumla are my word and seal". Mir Jumla III began approving proposals for jagirs and mansabs without consulting Syed Abdullah, the prime minister . Syed Abdullah's deputy Ratan Chand accepted bribes for him to do work and was involved in revenue farming, which was forbidden by the Mughal emperor . Taking advantage of the situation, Mir Jumla III told Farrukhsiyar that the Sayyids were unfit to hold office and accused them of insubordination . Hoping to depose the brothers, Farrukhsiyar began making military preparations and increased the number of soldiers under Mir Jumla III and Khan Dauran . </P>

Who was the mughal emperor who granted dastak to the british