Much depends on whether a nuclear deal with the international community is achieved, and the likelihood of that outcome has unexpectedly increased, owing to the common interest of Iran and the US in coping with the collapse of Iraq.