Iran had regained its U.N. voting rights in June after a similar payment, but said this month it had lost them again because it could not transfer the funds to pay its dues as a result of U.S. sanctions.

Release of Iran's frozen funds requires the approval of the United States, which joined its European allies this week in saying only weeks remain to salvage the 2015 Iran nuclear deal.

Then-President Donald Trump took Washington out of the deal in 2018, re-imposing U.S. sanctions. Iran later breached many of the deal's nuclear restrictions and kept pushing well beyond them.

Seoul "on Friday completed the payment of Iran's U.N. dues of about $18 million through the Iranian frozen funds in South Korea, in active cooperation with related agencies such as U.S. Treasury's Office of Foreign Assets Control and the United Nations Secretariat," the finance ministry said in a statement.

The Seoul U.N. office was not reachable for comment outside business hours.

Iran urgently asked South Korea last week to help pay the U.N. contribution with the frozen funds on concerns of the loss of its right to vote in 193-member General Assembly, the South Korean ministry said.

Tehran has repeatedly demanded the release of about $7 billion of its funds frozen in South Korean banks under U.S. sanctions, saying Seoul was holding the money "hostage".

A South Korean finance ministry official declined to say much Iranian frozen funds are left after the payment of U.N. dues, citing confidentiality laws.

(Reporting by Joori Roh; Additional reporting by Dubai newsroom; Editing by William Mallard)