The nuclear deal with world powers is a political victory for Iran, President Hassan Rouhani has said, adding that the agreement meant Tehran would no longer be regarded as an international threat.
Rouhani's comment came on Wednesday, a day after Iran and six world powers reached the deal, capping more than a decade of negotiations with a landmark agreement.
|Explained: Iran deal's contents|
Under the deal, sanctions imposed by the United States, the European Union and the United Nations will be lifted in return for Iran agreeing long-term curbs on a nuclear programme that the West has suspected was aimed at creating a nuclear bomb.
Rouhani said the deal was not "perfect" but it was necessary to compromise.
"It was really difficult to preserve some of our red lines," he said. "There was a time we doubted there could be a deal. It's a historic deal and Iranians will be proud of it for generations to come."
RELATED: Meet the men behind Iran's nuclear deal
Among Iran's main conditions, or "red lines", at the talks were a refusal to accept a long freeze on nuclear research and development and a demand for a rapid lifting of sanctions.
|There was a time we doubted there could be a deal. It's a historic deal and Iranians will be proud of it for generations to come
"My personal opinion is that I wish they had done this sooner so people wouldn't have to go through all these difficulties," Masumeh Momeni, a resident of Tehran, told Al Jazeera.
Meanwhile, Iran's Foreign Minister, Mohammad Javad Zarif, is now back in Tehran following the 18-day negotiations in the Austrian capital, Vienna.
On Tuesday, Obama said the agreement offered a chance to reset strained relations with Tehran.
"Every pathway to a nuclear weapon is cut off," he said, adding that the deal "offers an opportunity to move in a new direction. We should seize it."
Iran's supreme leader Ayatollah Ali Khamenei praised the "honest and hard endeavours" of the country's nuclear negotiating team just after the deal was clinched.
But not everyone is happy with the deal. Arab countries have deep fears of Iran gaining a nuclear weapon, and some have been skeptical that a deal will prevent that from happening.
|Iran's nuclear history|
Saudi Arabia issued a pointed warning, saying Iran must use any economic gains from the lifting of sanctions to improve the lives of Iranians, "rather than using them to cause turmoil in the region, a matter that will meet a decisive reaction from the nations of the region," in a statement carried on the state news agency late on Tuesday.
Benjamin Netanyahu, the prime minister of Israel, criticised the deal calling the decision "a historic mistake for the world".
In a second statement on Tuesday afternoon, Netanyahu said the deal gives Iran incentives "not to change" and said "the world is a much more dangerous place today than it was yesterday"
Iranians gather for celebrations following a landmark nuclear deal in Tehran [AP Photo/Ebrahim Noroozi]