The G7 on Sunday said time was running out for Iran to agree a deal to curb its nuclear ambitions, and warned Russia of "massive" consequences if it invades Ukraine.

Foreign ministers from the world's richest nations held a two-day meeting in Liverpool, northwest England, seeking to present a strong, united front against global threats.

On Iran, Foreign Secretary Liz Truss, from G7 host Britain, said resumed talks in Vienna were the Islamic Republic's "last chance to come to the negotiating table with a serious resolution".

UK Foreign Secretary Liz Truss said time was running out for Iran to agree a deal on its nuclear ambitions, and warned Russia of consequences if it invaded Ukraine
UK Foreign Secretary Liz Truss said time was running out for Iran to agree a deal on its nuclear ambitions, and warned Russia of consequences if it invaded Ukraine POOL via AFP / PHIL NOBLE

"There is still time for Iran to come and agree this deal," she told a news conference.

The final communique from the talks said Iran "must stop its nuclear escalation and seize the opportunity to conclude a deal, while this is still possible".

Negotiations restarted on Thursday to try to revive the 2015 deal between Iran and world powers, which the United States withdrew from under Donald Trump in 2018.

Iran claims it only wants to develop a civilian capability but Western powers say its stockpile of enriched uranium goes well beyond that, and could be used to develop a nuclear weapon.

Western powers are concerned about a military build-up of Russian forces on the border with Ukraine
Western powers are concerned about a military build-up of Russian forces on the border with Ukraine Satellite image ©2021 Maxar Technologies via AFP / Handout

US President Joe Biden has said he is ready to return to the agreement and Iranian officials maintain they are serious about committing to the talks.

But Tehran has been accused of backsliding on progress made earlier this year and playing for time.

Truss's comments are the first time a signatory to the original deal has given an ultimatum for the talks.

Britain, which hands over the G7 presidency to Germany next year, portrayed the two-day conference in Liverpool, northwest England, as a chance to stand up to authoritarianism around the world.

As well as Iran, Russia's build-up of troops on the border with Ukraine dominated talks, given fears of a possible invasion of the former Soviet state.

From Liverpool, US Secretary of State Antony Blinken flies on to southeast Asia
From Liverpool, US Secretary of State Antony Blinken flies on to southeast Asia POOL via AFP / Anthony Devlin

Truss said there was "very much a united voice... that there will be massive consequences for Russia in the case of an incursion into Ukraine".

In the final communique, ministers unanimously backed Ukraine's territorial integrity and sovereignty, praising President Volodymyr Zelensky for Kiev's "posture of restraint".

All options, including wide-ranging political and economic sanctions, are on the table if Russia ignores a diplomatic solution, officials indicated.

Pope Francis called for the Russia-Ukraine stand-off to be 'resolved through serious international dialogue and not with weapons'
Pope Francis called for the Russia-Ukraine stand-off to be 'resolved through serious international dialogue and not with weapons' AFP / Vincenzo PINTO

A senior US State Department official on Saturday said "a large number of democratic countries" were ready to join the G7 nations of Britain, Canada, France, Germany, Italy, Japan and the United States in taking action.

Biden earlier this week held a virtual summit with his Russian counterpart Vladimir Putin to voice Western concerns.

He is sending his top diplomat for Europe and Eurasian affairs to Kiev and Moscow next week for follow-up talks with senior officials.

Russia says the military build-up is a defensive measure against Ukraine moving closer to NATO.

Pope Francis also called for the situation to be "resolved through serious international dialogue and not with weapons", following the Angelus prayer at St Peter's Square.

Germany's new Foreign Minister Annalena Baerbock, speaking later on Sunday, warned that The Nord Stream 2 gas pipeline from Russia would not be allowed to operate in the event of any new "escalation" in Ukraine, under an agreement between Berlin and Washington.

From Liverpool, US Secretary of State Antony Blinken flies on to southeast Asia as part of Washington's push for "peace, security and prosperity" in the Indo-Pacific region.

Britain's G7 presidency this year has been dominated by responding to Beijing's alleged widespread domestic rights abuses, as well as creeping authoritarianism in its former colony, Hong Kong.

Earlier this week, a panel of human rights experts and lawyers in London said China had committed genocide in its Xinjiang region by imposing population controls on minority Muslim Uyghurs.

Beijing rejected the report, accusing it of "anti-China" bias.

Ministers from the Association of South East Asian Nations (ASEAN) took part in talks with the G7 for the first time, with concerns high about security in the South China Sea.

Truss said she and her counterparts were concerned about China's "coercive economic policies" and there was a need to counter them with their own initiatives as an alternative.

"What we want to do is build the investment reach, the economic trade reach of like-minded freedom-loving democracies," she added.

"That is why we're stepping up our investment into low and middle-income countries."

At a G7 leaders' meeting in June in Cornwall, southwest England, the grouping unveiled plans for what it said was a more equitable global infrastructure fund than China's Belt and Road Initiative.