The Treaty of Hamadan — The Annexation of Western Iran to the Ottomans
By the treaty signed with the Afghan ruler Ashraf Shah, the war lasting four years ended and the Western Iranian lands occupied by the Ottoman State were legally recognised. In return, Ashraf Shah accepted the caliphate of the Ottoman sultan and undertook to have the khutba read in Iran in the name of the sultan. This diplomatic victory was short-lived; the counter-offensive Nadir Shah launched in 1730 would wipe out the gains of the treaty within a few years.