A crisis has erupted between Iran and Western countries - in particular the UK and US - after a series of incidents in and around the Gulf, a strategically important waterway in the Middle East. Both sides are blaming the other and there are fears it could lead to war.
Behind the latest tensions is the fact that Iran and the US have increasingly accused each other of aggressive behaviour.
The US says recent activity by Iranian and Iranian-backed forces is destabilising the region and threatening US interests, while Iran says the US is trying to use military force and economic pressure to bring down its government.
The crisis really began to escalate in May when four oil tankers were were hit by blasts in the Gulf of Oman. Iran denied US accusations its forces had planted mines on the vessels.
Since then, two more tankers have been attacked, the US and UK have bolstered their naval forces in the region, and the US and Iran have said they have shot down each other's drones.
On 4 July, Iran seized a British-flagged tanker in the Strait of Hormuz, apparently in retaliation for the detention of one of its own tankers by British forces off Gibraltar. The Iranian tanker was released six weeks later.
What is going on involves some of the Gulf region's most powerful countries, as well as the world's most powerful military - that of the US.
Beyond that, the tensions threaten the use of the Strait of Hormuz. Almost a fifth of the world's oil passes through the narrow strait, which lies off the south oast of Iran.
If international shipping is hampered or even blocked there, the economic effects will be felt around the globe. They could include a sharp increase in oil prices.
And if the crisis erupts into a war, the consequences will be devastating.
The tensions in the Gulf can be traced to the resurgence of another crisis - that over Iran's nuclear programme.
For years, the international community and Iran were at loggerheads over the country's nuclear activities, amid suspicions that it was trying to develop nuclear weapons. Iran has always denied this, asserting that its programme was solely peaceful.
An agreement was reached in 2015, whereby Iran agreed to limit its nuclear activities in return for the lifting of economic sanctions. But last year, US Donald Trump pulled out of the deal, saying it was flawed. He reinstated sanctions on Iran and has continued to tighten them, hitting the Iranian economy hard.
Iran has been outraged by the US move, accusing it of violating the agreement. It has ceased abiding by several key nuclear commitments and threatened to do more unless European countries still party to the deal do something, and quickly, to mitigate the effects of the US sanctions.
Observers have speculated that the attacks on the tankers around the Gulf might be a signal by Iran that it is capable of disrupting shipping there if European powers do not act.
To begin with, it was really on the sidelines as the US and Iran shadow-boxed in the Gulf.
But then British Royal Marines helped detain an Iranian tanker in waters off the British overseas territory of Gibraltar in early July, after Gibraltar's government said it believed the tanker was transporting oil to Syria in violation of EU sanctions.
Iran reacted furiously to what it said was an act of piracy by British forces. It threatened to seize a British tanker unless the Iranian tanker was released.
The UK subsequently deployed an additional warship to the Gulf to protect British shipping.
But Iran followed through on its threat and detained a British tanker passing through the Strait of Hormuz, saying it was "violating international maritime rules" - a claim rebuffed by Britain.
Iran is still holding both the ship and its 12-strong crew, sharply heightening the crisis.