The U.S. is set to formally withdraw from a nuclear treaty with Russia, raising fears of a new arms race.

The Intermediate-Range Nuclear Forces Treaty (INF) was signed by U.S. President Ronald Reagan and Soviet leader Mikhail Gorbachev in 1987, the BBC recalls.

It banned missiles with ranges between 500-5,500 km (310-3,400 miles).

But earlier this year the U.S. and NATO accused Russia of violating the pact by deploying a new type of cruise missile, which Moscow has denied.

The Americans said they had evidence that Russia had deployed a number of 9M729 missiles - known to Nato as SSC-8. This accusation was then put to Washington's Nato allies, which all backed the US's claim.

Read alsoRussia develops new medium-range missile, NATO warns

President Donald Trump announced in February that the U.S. would withdraw from the pact if Russia didn't come into compliance, and set the deadline for 2 August.

Russian President Vladimir Putin suspended his country's own obligations to the treaty shortly afterwards.

"An invaluable brake on nuclear war" was being lost, warned UN Secretary General Antonio Guterres.

"This will likely heighten, not reduce, the threat posed by ballistic missiles," he added, urging all parties to "seek agreement on a new common path for international arms control".

Analysts fear that the collapse of the historic agreement could lead to a new arms race between the U.S., Russia and China.

Last month, Nato Secretary General Jens Stoltenberg told the BBC that the Russian missiles - which he said were in "clear violation of the treaty" - were nuclear-capable, mobile, very hard to detect, and could reach European cities within minutes.

"This is serious," he added. "The INF treaty has been a cornerstone in arms control for decades, and now we see the demise of the treaty."

He added that there had been "no signs whatsoever" that Russia would comply with the agreement - and that "we have to be prepared for a world without the INF treaty and with more Russian missiles".

Mr Stoltenberg also said that any decision by NATO about how exactly to respond would come after the deadline.

NATO has no plan to deploy land-based nuclear missiles of its own in Europe, he said, but conventional air and missile defence, new exercises and readiness of forces, and new arms control initiatives could all form part of the response.