Since the start of the year, Iran has intensified its diplomatic activity, engaging with friends and foes alike as it seeks to reduce its isolation, improve its economy and project strength.
Iran's ultraconservative President Ebrahim Raisi has led the way, swinging through China, Syria and Venezuela, hosting Saudi Arabia's top diplomat, and reaching out to other long-time regional rivals such as Egypt.
And this week his foreign minister, Hossein Amir-Abdollahian, has travelled to Oman, the mediator in indirect talks between Iran and its sworn enemy the United States over its suspect nuclear programme and a possible prisoner swap.
On Tuesday, the Iranian Foreign Minister met with Emir of Qatar Sheikh Tamim bin Hamad Al Thani in Doha, according to the Iranian “Tasnim” News Agency.
The Iranian and Qatari officials talked about issues of mutual interest in the bilateral, regional and international arenas, the Iranian Agency said.
In a post on his Twitter account, Abdollahian said his visits to Qatar and Oman are aimed at further promoting relations with the two Arab countries and following up on the agreements reached by the three countries' high-ranking officials.
He noted that Iran's neighboring countries enjoy huge economic, trade and political potentialities.
Amirabdollahian added that continued development of all-out relations with neighbors is among the basic principles of the Iranian administration’s foreign policy doctrine.
Sanam Vakil, director of Chatham House's Middle East and North Africa programme, said Iran was seeking to show it can overcome its adversaries.
Iran is "looking to show that despite sanctions and domestic protests it continues to weather the storm by bolstering stronger international economic and foreign ties", she said.
"These links... aim to increase economic connectivity and boost internal morale."
At stake are "agreements focused on easing tensions through the de-escalation of Iran's nuclear programme and release of US prisoners" held in Iran, said Diako Hosseini, a Tehran-based foreign policy analyst.
Iran hopes such agreements would allow it to revive an economy battered by sanctions, rampant inflation and record depreciation of the rial against the dollar.
'Policy of openness'
In 2018 under then president Donald Trump, the United States unilaterally withdrew from the landmark Iran nuclear deal and imposed waves of sanctions on the Islamic republic.
The punitive measures remain in place and are considered a strong deterrent for any foreign companies weighing up investments in Iran, regardless of their nationality.
Any indication of a thaw in relations would therefore be viewed favourably by Arab countries, especially those of the Gulf, which are seeking to ease tensions fuelled in recent years by the conflicts in Yemen and Syria.
This desire was one of the main drivers of the China-brokered normalisation of relations in March between Iran and Saudi Arabia after seven years of hostility.
Since then, Iran has sought to cement or restore ties with other Arab countries including Egypt and the United Arab Emirates.
Tehran says its "policy of openness" has contributed to a de-escalation of tensions in the Middle East, even if the risk of an armed confrontation is still high with Israel, the Islamic republic's arch-enemy.
"Only the enemies of Islam, led by the Zionist regime (Israel), are upset by the progress of cooperation between Iran and Saudi Arabia," Raisi said last week when he received the Saudi foreign minister, Prince Faisal bin Farhan.
'New world order'
At the same time, a certain detente is emerging with European countries after months of simmering tensions since nationwide protests erupted in Iran over the September death in custody of Mahsa Amini, a 22-year-old Iranian Kurd, after her arrest for an alleged breach of the Islamic republic's strict dress code for women.
In recent weeks, Iran has released six Europeans it was holding and has held nuclear talks with Britain, France and Germany, the three European signatories to the landmark 2015 agreement.
But a bone of contention remains between Iran and Western countries that accuse Tehran of supplying drones to Moscow and helping it build a factory to manufacture them, which the Islamic republic denies.
Iran is also courting China, which Raisi visited in February for the first such trip in 20 years. Tehran expects to attract significant Chinese investment, the level of which remains low despite promises made in recent years.
Presenting itself as one of the pillars of the "new world order", the Islamic republic also wants to extend its influence into Southeast Asia, Africa and Central America.
Following a trip to Indonesia, Raisi last week visited Venezuela, Nicaragua and Cuba -- where he denounced "the imperialist powers" led by the United States.
The analyst Hosseini believes Iran "is turning to countries that are not considered in the western bloc... to show that the West's influence on Iran and its economy is not major".
Iran also hopes to be quickly accepted into two organisations that exclude Western countries: the BRICS grouping of Brazil, Russia, India, China and South Africa; and the Shanghai Cooperation Organisation, which brings together China, Russia and several Central Asian countries.