Iran's newly-elected President Masoud Pezeshkian pledged to establish deeper relations with Russia in the face of Western sanctions, as he met with a top Russian security official on Tuesday.
Russia's top security official Sergei Shoigu arrived in the Iranian capital days after meeting North Korean leader Kim Jong Un in Pyongyang. More than two and a half years into its conflict with Ukraine, Moscow has been seeking to develop ties with the two nations.
"My government will seriously follow ongoing cooperation and measures to upgrade the level of relations between the two countries," the state IRNA news agency quoted Iranian president Masoud Pezeshkian as telling Shoigu, Secretary of Russia's Security Council.
"Relations between Tehran and Moscow will develop in a permanent, continuous and lasting way. Deepening and strengthening relations and cooperation between Iran and Russia will reduce the impact of sanctions."
The United States views Moscow's growing relationships with Pyongyang and Tehran with concern and says both are supplying Russia with ballistic missiles for use in the conflict in Ukraine.
Iran has denied sending ballistic missiles to Russia. Moscow has said only that Iran is Russia's partner in all possible areas.
Shoigu's trips are taking place at a crucial moment in the war, as Kyiv presses the United States and its allies to let it use Western-supplied long-range weapons to strike targets such as airfields deep inside Russian territory.
President Vladimir Putin said last week that Western countries would be fighting Russia directly if they gave the green light, and that Moscow would respond.
The Nour news agency, affiliated with Iran's Supreme National Security Council, said Shoigu met his Iranian opposite number, Ali Akbar Ahmadian. There was no immediate information on the outcome of the meeting.
Russia has repeatedly said it is close to signing a major agreement with Iran to seal a strategic partnership between the two countries.
Shoigu was Russian defense minister until May when he was appointed secretary of the Security Council which brings together President Vladimir Putin's military and intelligence chiefs and other senior officials.
Apart from meeting North Korea's Kim last week, he also held talks in St Petersburg with Chinese Foreign Minister Wang Yi.