The United States on Friday failed in its attempt to extend a UN arms embargo on Iran, and Washington could now act on a threat to trigger a return of all UN sanctions on Tehran.
Here is a look at the events leading to the showdown and an explanation of what could happen next.
Why is the arms embargo on Iran expiring?
The United Nations Security Council imposed an arms embargo on Iran in 2007.
The embargo is due to expire in mid-October, as agreed to under the 2015 nuclear deal among Iran, Russia, China, Germany, Britain, France and the United States that prevents Tehran from developing nuclear weapons in return for economic sanctions relief. That accord is enshrined in a 2015 Security Council resolution.
In 2018, US President Donald Trump quit the accord reached under his predecessor Barack Obama, calling it "the worst deal ever."
The United States failed on Friday in a bid to extend the arms embargo on Iran at the UN Security Council.
What does this mean for the 2015 nuclear deal?
Even though the United States has withdrawn from the nuclear deal, Washington has threatened to use a provision in the agreement to trigger a return of all UN sanctions on Iran if the Security Council does not extend the arms embargo.
While diplomats have predicted that the so-called sanctions snapback process at the Security Council would be messy - with the remaining parties to the nuclear deal opposed to such a move - it could ultimately kill the nuclear deal because Iran would lose a major incentive for limiting its nuclear activities.
After the United States quit the deal, it imposed strong unilateral sanctions. In response, Iran has breached parts of the nuclear deal.
Iran's Foreign Minister Mohammad Javad Zarif on Tuesday described the next few weeks and months as critical.
What sanctions would snapback?
A snapback of UN sanctions would require Iran to suspend all nuclear enrichment-related and reprocessing activities, including research and development, and ban imports of anything that could contribute to those activities or to the development of nuclear weapon delivery systems.
It would reimpose the arms embargo, ban Iran from developing ballistic missiles capable of delivering nuclear weapons and reimpose targeted sanctions on dozens of individuals and entities. Countries also would be urged to inspect shipments to and from Iran and authorised to seize any banned cargo.
How does the United States trigger a sanctions snapback?
The United States would have to submit a complaint about Iran breaching the nuclear deal to the Security Council.
The council would then have to vote within 30 days on a resolution to continue Iran's sanctions relief. If such a resolution is not put forward by the deadline, all UN sanctions in place before the 2015 nuclear deal would be automatically reimposed.
Some diplomats have said the United States could submit its complaint as early as next week.
Can the US effort be stopped?
It was not immediately clear how Russia, China or any other Security Council members might try to stop the United States from triggering a sanctions snapback or if procedurally there is any way they can.
Diplomats have said several countries are likely to argue that the United States legally could not activate a return of UN sanctions and therefore they simply would not reimpose the measures on Iran themselves.