US President Donald Trump and his French counterpart Emmanuel Macron have suggested there could be a new agreement on Iran's nuclear programme.

After talks in the US, Mr Trump, who is sceptical of an accord that was struck in 2015, spoke about "doing a much bigger, maybe, deal".

Mr Macron said a new pact must cover Iran's ballistic missile programme and its role in the Middle East.

Iran warned of "severe consequences" if the US withdraws from the deal.

In 2015, Iran agreed to mothball its nuclear programme in return for an easing of economic sanctions on Iran.

The US president has been threatening to reject an extension of the Obama-era nuclear pact reached between Tehran and world powers by a 12 May deadline.

Mr Macron has been lobbying Mr Trump to stick with the deal, saying there was no better option.

Germany's Chancellor Angela Merkel is due to visit the US on Friday to make a last-minute bid to dissuade Mr Trump from potentially torpedoing the agreement.

Iranian Foreign Minister Javad Zarif was quoted as saying that Tehran would "most likely" abandon the accord if the US pulled out.

What did Trump and Macron say in Washington?
"I think we will have a great shot at doing a much bigger, maybe, deal," the US president said, adding that any new agreement must be built on "solid foundations".

"They should have made a deal that covered Yemen, that covered Syria, that covered other parts of the Middle East," said Mr Trump, referring to the 2015 accord which he described as "insane".

Meanwhile, Mr Macron agreed that Tehran's influence in the region must be part of negotiations.

He also stressed that - as well as controlling Iran's nuclear programme for the next decade as envisaged by the current agreement - a fresh deal would need to cover its nuclear activities longer-term, as well as its ballistic missile programme.

And he talked about working with President Trump to build a "new framework" in the Middle East - and especially in Syria.

"Beyond the military presence (there), we'll have to build peace," Mr Macron said.

Mr Trump earlier warned Iran against resuming its nuclear programme.

"They're not going to be restarting anything. They restart it they're going to have big problems, bigger than they've ever had before."

What was Iran's response?
On Monday, Iranian President Hassan Rouhani threatened "severe consequences" if the US withdrew from the deal.

Meanwhile, Iranian Foreign Minister Javad Zarif said just hours before the Trump-Macron summit that a probable response would to restart the enrichment of uranium - a key bomb-making ingredient.

"You cannot stop the process or not engage just because of a fear of failure. But at least you need to have some hope of success, some prospect for success, in order for this process to start," the Iranian foreign minister was quoted as saying by Reuters.

"And I do not believe that, under the present circumstances, with the present tone, and language and approach of the current administration in Washington, you would have much prospect."

Iran maintains its nuclear programme is solely for peaceful civilian purposes.

What are Trump's objections to the 2015 accord?
The US president has long complained that the accord - signed by the US, Iran, Europe, Russia, China and Germany - does nothing to halt Iran's support for militant groups in the region such as Hezbollah.

Mr Trump is also demanding that signatories to the pact agree permanent restrictions on Iran's uranium enrichment.

Under the current deal they are set to expire in 2025.

What about other issues discussed in Washington?
Mr Macron, on a three-day visit to the US, is the first foreign leader to be treated to a state visit during the Trump presidency.

"We do have a very special relationship," Mr Trump told journalists gathered in the Oval Office.

President Macron and his wife, Brigitte, attended a state dinner in their honour at the White House on Tuesday - the first of Mr Trump's presidency.

Guests included former Secretary of State Henry Kissinger and Apple chief executive Tim Cook.

The Iran deal is not the only potential source of discord between the two leaders.

Also on the agenda is the Paris climate accord, the US decision to recognise Jerusalem as the capital of Israel, and planned US tariffs on EU steel and aluminium.

Mr Trump earlier thanked France for joining the US and Britain earlier this month in launching air strikes after an alleged chemical attack in Syria.