IAEA chief Yukiya Amano has one again stressed that Iran is living up to its commitments made under the 2015 international nuclear deal.

Speaking with Director General of the International Atomic Energy Agency (IAEA) Yukiya Amano on Wednesday in Vienna, Rouhani said “JCPOA was a great success for diplomacy and IAEA and continuation of this success depends only on balance of all parties’ commitment."

President Hassan Rouhani stressed that if the rights of the Iranian nation under the Joint Comprehensive Plan of Action (JCPOA) are not met, there is no reason for us to stay in the deal, adding “Iran’s nuclear activities have always been peaceful."

"Iran’s nuclear activities have always been peaceful, but it is Tehran that decides on the level of its cooperation with the IAEA," he said.

"The responsibility for a change in the situation and the level of Iran's cooperation with the agency falls on those who have created the new status quo," he added.   

Earlier in the day, the Iranian president slammed as illegal the US withdrawal from the nuclear agreement, known as the Joint Comprehensive Plan of Action, saying Washington’s move benefits no one. 

“Both of us agree that we should try to keep this agreement. We see eye to eye that the US move [to withdraw from the deal] is illegal, against international obligations and to the detriment of the US and all countries," Rouhani said during a joint press conference with Austrian Chancellor Sebastian Kurz in Vienna on Wednesday.

In the ceremony that was held on Wednesday during President Hassan Rouhani's official visit to Austria, the documents were signed by senior officials of the two countries in the fields of transportation, water resources management, renewable energies and cooperation in mines.

Also, Presidents of the Islamic Republic of Iran and Austria had a joint press conference and stressed the importance of deepening relations.

JCPOA is a very important agreement for Iran, EU and the world, he said, adding: "What United States did was against the law, UNSC resolutions and multilateral obligations, and without a doubt, this will be to the US and others' detriment".

US President Donald Trump announced on May 8 that Washington was walking away from the nuclear agreement, which was reached between Iran and the five permanent members of the UN Security Council - the United States, Britain, France, Russia and China - plus Germany.

President of the Islamic Republic of Iran left Vienna, heading for Tehran, late on Wednesday to end his official visit to Austria.