 Coinciding with the Celali revolts in Anatolia, the Safavids recaptured Nahavand and expelled the Ottomans from the city, thus restoring Iranian control.The Safavid governor of Hamadan, Hasan Khan Ustajlu, subsequently destroyed the Ottoman fort.In the wake of the collapse of the Safavids in 1722, the Turks captured Nahavand once more.