Even in the parts of Iraq now controlled by the Islamic State, oil production continues, with output smuggled and sold in foreign markets. And the prospect that sanctions on Iran’s oil exports will be phased out implies significant inflows of foreign direct investment aimed at increasing production and export capacity.