Iranian Foreign Minister Hossein Amirabdollahian has warned international powers that a window for reviving a 2015 international deal on Iran’s nuclear program, known as the JCPOA, remains open but not forever.

In a post on Twitter late on Friday, Amirabdollahian said that his meeting with European Union foreign policy chief Josep Borrell in Jordan earlier this week had focused on taking the final steps required to revive the JCPOA.

But he said that the window for reaching such an agreement would not remain open forever.

The top diplomat also said that he had highlighted the need for a political solution to the conflict in Ukraine in his meeting with Borrell.

He added in his tweet that the United States is not entitled to lecture other countries about human rights given crimes it has committed in Cuba’s Guantanamo detention camp and in Abu Ghraib prison in Iraq, and considering the crimes committed by US forces against women and children in Afghanistan and Yemen in recent years.

On December 20, Amirabdollahian flew to Amman at the head of a delegation to take part in the second edition of the Baghdad Conference.   

The Iranian foreign minister held talks with officials from governments and international organizations on the sidelines of the conference, including with EU foreign policy chief.