From an article in The National:
The Ottomans and Iran’s Safavid Empire fought a century of wars for control of modern-day Iraq, with the Ottomans finally triumphing in 1639. The Treaty of Zuhab was a major defeat for the Safavids, taking Iraq out of the Persian sphere and establishing it as a “citadel of Arabism”.
For Iran the defeat turned out to be a long-term blessing: it established Iran within borders which have lasted to this day and enabled the empire to transition smoothly into a nation state.