 The Persians ruled the city until 1638 when a massive Ottoman force, led by Sultan Murad IV, recaptured the city.In 1639, the Treaty of Zuhab was signed that gave the Ottomans control over Iraq and ended the military conflict between the two empires.Thus, more Turks arrived with the army of Sultan Murad IV in 1638 following the capture of Baghdad whilst others came even later with other notable Ottoman figures.