Iranian President Hassan Rouhani Praises Nuclear Deal in His UN Address

He followed Obama and Putin at the General Assembly.

He said the deal was created as a result of the "careful and clear diplomatic effort." He went on to call it "an international instrument," "a brilliant example of victory over war," and said it "sets a strong precedent."

"It can serve as a basis for foundational change in the region," Rouhani said, later adding that "this opportunity can be seized in order to look toward the future."

"If we did not have the U.S. military invasion of Afghanistan and Iraq ... today the terrorists would not have an excuse for the justification of their crimes," he said.

Rouhani has been in the United States since Thursday, though posted on Twitter today that he would be cutting his trip short and heading back to Tehran in order to greet the bodies from the deadly stampede last week during the Hajj.

This trip marked the first time the Iranian president has been in the United States since the Iran deal was announced this summer.

Iran was the subject of criticism by President Obama this morning during his speech to the General Assembly, wherein he called out the country for continuing to employ “violent proxies to advance its interests” in the Middle East.

"These efforts may appear to give Iran leverage in disputes with neighbors, but they fuel sectarian conflict that endangers the entire region," Obama said. “Iranian people have a proud history filled with extraordinary potential. But chanting 'Death to America' doesn’t create jobs or make Iran more secure."