U.S. President Donald Trump and Iranian President Hassan Rouhani were on the verge of direct communication, but Rouhani pulled out at the last minute, according to a report by POLITICO.

According to the report, French President Emmanuel Macron, at the sidelines of the U.N. General assembly meeting in New York last week, successfully got Trump and Rouhani to agree on a four-point document designed to get Iran and the U.S. back to the negotiating table.

The four points in the document that were agreed by both sides were that “Iran will “fully comply with its nuclear obligations and commitments and will accept a negotiation on a long-term framework for its nuclear activities”. Both parties will “refrain from any aggression and will seek genuine peace and respect in the region through negotiations”. The U.S. will lift all the sanctions re-imposed since 2017”, and lastly Iran “will have full ability to export its oil and freely use its revenues”.

Furthermore, Macron was able to get Trump and Rouhani to agree to a meeting via telephone at 9.p.m last Tuesday, but Rouhani backed out the last minute because he demanded that Trump first announce publicly that he would lift U.S. sanctions on Iran.