That's all for our live coverage of today's historic nuclear agreement between Iran and world powers. We'll leave you with this video clip of celebrations getting under way in Tehran.
- World powers agree comprehensive deal with Iran on its nuclear programme
- Iran limits its sensitive activities in return for lifting of sanctions
- Iran hails "historic deal" and EU welcomes "sign of hope for the entire world"
- But Israel's Netanyahu condemns "historic mistake"
- US Congress must still approve deal
- All times in BST (GMT+1)
The BBC's Orla Guerin has been speaking to Egypt's Foreign Minister Sameh Shukry about the agreement.
He said he hopes the deal will hinder an "arms race" in the Middle East.
For peace and security to be predominant in the region, he added, all states must "apply themselves in a responsible manner".
Salena Zito, a US-based reporter, tweeted a cartoon of Iranian leadership hoisting the Iran flag victoriously, as if to say “We won”.
Nearly all the US presidential candidates, including Republican Senator Marco Rubio, have tweeted their feelings about the deal. Here's a neat summary of their tweets.
Iran's Foreign Minister Javad Zarif was obviously in a good mood as he boarded the plane back to Tehran. Here he is posing for photographs with Iranian journalists.
US defence secretary Ash Carter called the deal "comprehensive" but warned the US military is prepared to take action in case of "Iranian malign influence".
Russian Foreign Minister Sergey Lavrov has said in a statement that reaching an agreement on Iran makes it possible to remove barriers, including artificial ones, to the formation of a broad coalition to fight terror groups like the Islamic State.
Iran's supreme leader Ayatollah Ali Khamenei has thanked the country's negotiators in his first reaction to the nuclear agreement with world powers.
According to his official website, Ayatollah Ali Khamenei met President Hassan Rouhani and the cabinet and thanked "the honest and hard-working negotiating team".
Iran's Tasnim news agency has quoted chief nuclear negotiator Abbas Araqchi, saying that under the deal, $700m (£450m) of the country's frozen assets will be released every month.
The streets of Iran's capital were surprisingly quiet earlier, but it seems celebrations are starting to pop up now. It's approaching 23:00 in Tehran and quite a few local journalists are sharing images of crowds gathering across the city.
America's most prominent pro-Israel lobbying organisation, AIPAC, said it is "deeply concerned" the deal does not meet its requirements.
"This proposed agreement... would fail to block Iran's path to a nuclear weapon and would further entrench and empower the leading state sponsor of terror," the group said in a statement.
US Secretary of State John Kerry is finally heading home after nearly three weeks of talks.
Remember, Mr Kerry is still recovering from breaking his leg in a cycling accident in the French Alps in May.
The 71-year-old was in good spirits when he left for Vienna last month, posing with his crutches on board the plane to Austria.Copyright: Reuters
- Copyright: Getty Images
There are hopes that the fate of an American imprisoned in Iran could be improved by the deal.
Washington Post reporter Jason Rezaian and his journalist wife Yeganeh Salehi were arrested by Iranian authorities on 22 July 2014.
"The outcome of the nuclear deal does not change Jason's cruel and illegal imprisonment for the past 356 days," Ali Rezaian, Jason Rezaian's brother, said in a statement to the Washington Post.
"We are hopeful that with agreement now in place the Iranian courts will conclude this process swiftly and affirm Jason's innocence so we can bring him home and make our family whole once again."
On Capitol Hill in Washington, the Senate Foreign Relations Committee chairman, Senator Bob Corker, has been expressing his scepticism to the BBC's Suzanne Kianpour.
"It's amazing to think Iran - a country that had a boot on its neck two years ago - got six countries to move from focusing on dismantling its nuclear programme to managing their nuclear proliferation."
The P5+1 had very different interests, he says, and Iran was able to take advantage of those differences to get the best deal.
President Obama has spoken to Israeli Prime Minister Benjamin Netanyahu by phone.
He told Israel's leader that the deal with Iran doesn't lessen US concern over the country's support for terrorism, according to the White House.
"We remain vigilant in countering the Iranian regime's destabilising activities in the region," Mr Obama is reported to have said.
Earlier, Mr Netanyahu called the deal a "stunning historical mistake".
US sanctions against Iranian oil exports will be tough to lift because some came from the White House and other came from Congress, says Scott Lucas, a professor of international politics at the University of Birmingham in the UK.
"Don't expect that to occur for months after the deal is signed," he said.
"The US will wait until the last possible moment for Independent Atomic Energy Agency verification of Iranian compliance. Some sanctions may take up to a year to be fully removed."
ABC News foreign editor Jon Williams tweets :
British Prime Minister David Cameron has spoken to President Obama about the deal, a spokesman in Downing Street tells the BBC.
Both leaders thanked each other for the leadership and work of their teams which had been critical to a successful outcome, the spokesman said.
They agreed that the deal would ensure that Iran is unable to develop a nuclear weapon, but noted that differences would remain with Iran over its role in the region.
Republican Senator Bob Corker, the chairman of the US Senate Foreign Relations Committee, said a Senate vote on the deal will not happen before September.
President Obama has said he would veto any legislation that rejects the deal. It would then require a two-thirds majority in both the Senate and the House of Representatives to overturn the presidential veto.
Israeli Prime Minister Benjamin Netanyahu has expressed concern over the deal in a telephone conversation with President Obama, an Israeli government source quoted by Reuters says.
- Copyright: AP
A Reuters poll of 25 economists and oil analysts last week forecast 250,000 barrels to 500,000 barrels per day (bpd) of extra Iranian crude oil could come onto the world market by the end of this year as a result of the deal. The poll predicted an extra 500,000 barrels to 750,000 bpd on the market by mid-2016. However Reuters on Tuesday says that some analysts say that this may be an over-estimate.
Swiss energy markets analyst Olivier Jakob told Reuters that it will "take a few months before Iran can start to export at full blast", while New York based commodities research expert Edward Morse said that sanctions "have clearly impaired Iran's ability to maintain its mostly mature oilfields, let alone develop new projects".
- Copyright: Reuters
Former British Foreign Secretary David Miliband - who was involved in trying to negotiate a deal with Iran for three years - says the agreement has benefits for both sides and is a step towards a safer world.
"The alternatives to this nuclear deal are extremely grave indeed, because if this deal had failed today we would have seen the end of the current pause in the Iranian nuclear programme, and the kind of nuclear arms race in the Middle East that is absolutely the last thing that not just that the Middle East needs but that the rest of the world needs.
"This nuclear deal is one piece of evidence that diplomacy can actually produce win-win solutions."
We have already reported on strident reaction among US Republicans to the deal. Democrats have been more welcoming, although there was a definite note of caution in the reaction.
Tehran-based businessman Alidad Varshochi says his company had to downsize under the impact of sanctions. He told the BBC he is now optimistic.
"We are very much looking forward to what the removal of sanctions will bring us, everything from foreign investment that the country's so been looking forward to, to improving relations with our former business partners in the Middle East and of course beyond."
Analysing who has made the most concessions in securing the deal, The Daily Telegraph's David Blair says that both sides have given away a great deal.
"Iran will sacrifice two-thirds of its capacity to enrich uranium for at least 10 years, placing thousands of centrifuges - all of them obtained in the teeth of international pressure - into monitored storage," he writes.
"America and its allies, meanwhile, have conceded the vital principle that Iran will be allowed to have enrichment technology - and most restrictions will expire after a decade or so.
"They will also lift the most effective sanctions. In truth, this is a balanced deal, involving big concessions from all concerned."
- Copyright: EPA
Another hint of what the agreement means for Iran's economy. Russian Foreign Minister Sergei Lavrov has said that his country has big plans to help Iran build its nuclear industry now that a deal has been agreed. Speaking in Vienna - where he attended the negotiations - he said preparation was already at an advanced stage.
"We have large-scale plans with Iran on the development of its nuclear power industry," Mr Lavrov said.
"I would like to mention that this co-operation between Iran and Russia is absolutely secured against any kind of negative influence from external factors... It will take place according to this new agreement."
- Copyright: Reuters
French carmaker Peugeot could be set to benefit from the nuclear agreement. The company is in advance talks over a venture with another manufacturer, Iran Khodro, Reuters reports.
The deal struck between Iran and western powers "should clear the way for significant progress in our discussions", Peugeot Africa and Middle East chief Jean-Christophe Quemard told Reuters.
- Copyright: AFP
Nato Secretary General Jens Stoltenberg has welcomed the deal as a "historic breakthrough" that will strengthen global security, but at the same time has urged Tehran to comply with its terms, AFP reports.
Syrian President Bashar al-Assad has praised key ally Iran for making the deal, calling it a "great victory", AFP reports, citing the Sana news agency.
In a message to supreme leader Ayatollah Ali Khamenei, President Assad said that the agreement would be a "major turning point in the history of Iran, the region and the world".
It provided "clear recognition on the part of world powers of the peaceful nature of Iran's nuclear programme, while preserving the national rights of your people and confirming the sovereignty of the Islamic Republic of Iran", he said.
"We are confident Iran will continue, and with greater momentum, to support the people's just issues and to work towards establishing peace and stability in the region and the world," he added.
- Copyright: AP
US Secretary of State John Kerry in an interview with the BBC has accepted that some of the money that will now enter Iran because of the the lifting of sanctions may be diverted to sponsor terrorist organisations. But he said the amount would not be enough significantly to affect events on the ground in the Middle East.
"First of all what Iran is doing in Yemen right now does not depend on money," he said. "What Iran has done for years with Hezbollah does not depend on money.
"And by the way they are fighting [Islamic State] and helping Iraq in many ways but that has not depended on money.
"So sure something may go additionally somewhere, but if President Rouhani and his administration do not take care of the people of Iran they will have an enormous problem."
- Copyright: AP
Jeb Bush, in the running to be Republican presidential candidate, has attacked a "dangerous, deeply flawed, and short-sighted deal".
He writes: "The people of Iran, the region, Israel, America, and the world deserve better than a deal that consolidates the grip on power of the violent revolutionary clerics who rule Tehran with an iron fist.
"This isn't diplomacy - it is appeasement."
- Copyright: AFP
Here's a link to the full statement by Israeli Prime Minister Benjamin Netanyahu, where he called the deal a "stunning historical mistake".
- Copyright: BBC
Iran's Foreign Minister, Javad Zarif, has told the BBC that the agreement over his country's nuclear programme could be a first step in improving relations between Iran and the West. He said greater cooperation is needed to combat the threat posed by Islamic State militants:
"This is not a threat that can be contained to Syria or Iraq. This is a threat that would not even recognise regional borders and will go beyond our region, as we have seen in Europe, in Africa, elsewhere. This is a global threat and we need to set aside those previous positions and start dealing with these real issues. And I think the smokescreen of Irano-phobia hopefully is coming aside so that we can deal with these realities."
Turkey has welcomed the deal, describing it as of vital importance for the stability of the Middle East, Reuters has quoted Foreign Minister Mevlut Cavusoglu as saying.
However the minister cautioned Iran to rethink its policies on issues from Syria to Yemen.
"We have to abandon sectarian-based policies and place particular emphasis on political dialogue. We need to contribute to resolution of these issues through dialogue. This is what we expect from brotherly Iran," Mr Cavusoglu told a news conference.
- Copyright: AP
Hillary Clinton, the front-runner to be the next Democratic presidential candidate, has called the deal an "important step in putting a lid on Iran's nuclear program".
She added: "This agreement will have to be enforced vigorously, relentlessly."
President Obama will be long out of office before any reasonable assessment can be made as to whether his "roll of the dice" in relation to the deal with Iran has paid off, David Sanger writes in the New York Times.
"The best guess today, even among the most passionate supporters of the president's Iran project, is that the judgment will be mixed," he writes.
President Obama has said that the relief of sanctions against Iran will be gradual, but a senior UN official says they should be lifted immediately. Idriss Jazairy, the special rapporteur on human rights and international sanctions, has said:
"The stockpiling of sanctions and unilateral coercive measures against Iran, some of which went well beyond what was required by the Security Council, has had a significant adverse effect on the country's economy, its population and ultimately on the enjoyment of human rights of the people of Iran, including its right to food, its right to health and its right to development."
North America editor
There will be some tough questions ahead for President Obama from Congress, many of whom are deeply sceptical.
It will take all the president's persuasive powers to make them come round to the view that it's a deal worth backing.
You will see a huge concentrated selling operation to the American people and to Congress over the coming days and weeks.
"Let’s be realistic. The Dollar rate against Rial was rocketing up, and the country was going down the route of war. This deal we may not necessarily turn Iran into a paradise, but at least it stops it from turning into a hell. Mismanagement and sanctions against Iran have taken the inflation rate up to about 40%. So please be fair and don’t say that the deal is making no difference to your lives" - Azar
The hashtag #IranDeal has been among the top trends worldwide on Twitter. Today, 150,000 tweets have included the term #IranDeal. Other hashtags in relation to the deal have also been popular. This brings the total number of tweets so far to over 202,000.
- Copyright: AFP
The British Foreign Secretary, Phillip Hammond - that's him on the right next to his Iranian counterpart Mohammad Javad Zarif - has hailed the deal as a breakthrough.
"The removal of the threat of an Iranian nuclear weapon is a game changer in terms of our ability to engage with Iran, the lifting of the sanctions means that our businesses will be able to invest in Iran, our companies will start to trade with Iran, Iranians will start to travel again and engage in the world.
"Those are important changes in themselves but the future brings the tantalising possibility of Iran being a more engaged, more transparent, more consistent and constructive partner in the regional relationships in the Gulf as well working with us to deal with the shared challenge of ISIL (the Islamic State group) and its extremist ideology."
With the mood music coming out of Iran that many are welcoming the deal, the streets are mostly empty according to reporters on the ground.
However, this is likely due to it being Ramadan. Rallies are expected across the country once the sun goes down
Iranians are posting "popular celebrations of the nuclear deal" guides on social media.Copyright: BBC
This is how Mr Netanyahu concluded his speech:
"Israel is not bound by this deal with Iran, because Iran continues to seek our destruction. We will always defend ourselves."
Israeli PM Benjamin Netanyahu is speaking for the first time since the deal was announced. His previous statements were made before the deal was officially announced.
"This deal hopes Iran's terrorist regime will change while removing any incentive for it to do so. This deal gives Iran every incentive not to change."
"Amazingly this bad deal has not forced Iran to stop its aggressive behaviour in any way."
- Copyright: AFP
Republican senator John McCain, a persistent critic of the Obama administrations approach to Iran, has said "all signs point to this being a bad deal".Quote Message: I fear this agreement could undermine the very goals we have maintained for 35 years – weakening the Islamic Republic, constraining its threatening influence, strengthening Israel and our Arab partners, lessening regional tensions, and preventing Iran from acquiring a nuclear weapons capability.
When they said this could lead to closer ties between the two countries, we don't think they quite meant this...
Israeli media reports that the Israeli Prime Minister and US president could talk tonight. Given that Mr Netanyahu has described the deal as "a historic mistake" it could be a frosty conversation.
- Copyright: Reuters
The BBC has been hearing reaction on the streets of the Iranian capital Tehran.
"It's good for many aspects - military, economic, cultural, socially - there's no difference, it could be very good for our country" - Shahla Mohammadi
"We have a way of behaving in Iran that is unique to us, that is to say, we can talk politely with others and make them feel good. With God's will, we hope to have the same affect on America as well" - Alireza Sadeghi
(On the US) "Friends? I don't think so" - Masumeh Hosseini
As we have been reporting, some of the strongest criticism has come from Israel, with President Netanyahu calling it a "historic mistake". Newshour, on the BBC World Service, asked Danny Danon, a cabinet minister and member of Mr Netanyahu's Likud Party, what Israel's next step might be.Quote Message: First of all we are not part of this deal and we do keep all options on the table. It means we do have the capability to defend ourselves. We understand that we can only count on ourselves. When I see the Iranians sponsoring terror activities in Lebanon, in the Sinai peninsula and in other parts of the Middle East, I understand what will be the next step that they'll take and if we see or feel that we are in danger we do keep our right to defend ourselves.
- Copyright: Whitehouse
The Obama administration has posted a detailed explanation of the deal on its website. It has several graphics making the argument that the deal stops Iran developing nuclear weapons.
This can be seen as an early attempt to win over the US public, given the opposition the deal will probably face in Congress.
- Copyright: EPA
Under the deal, a UN embargo on arms sales to Iran will remain in place for five years. But Russian Foreign Minister Sergei Lavrov, who had wanted the restrictions lifted, said they could resume sooner in the right circumstances:Quote Message: In the end, a compromise between the Iranians and the Western colleagues has been reached, which we naturally supported along with China, bearing in mind that Iran was fine with it - five years, but within that five-year period arms deliveries to Iran are possible by complying with a procedure of notifying and verification through the U.N. Security Council.
Iran's chief negotiator has just tweeted about his hopes for further progress
Unsurprisingly, US Vice-President Joe Biden takes a very different view of the agreement from some of the Republicans we have reported on.
Our colleagues who look after the BBC's Instagram page , have put together this snapshot of the past few hours' events.
- Copyright: AP
Republicans are lining up against President Obama now. The Speaker of the House of Representatives, John Boehner, echoes his colleagues in his response, saying the deal helps a "terrorist" nation.
"Instead of making the world less dangerous, this 'deal' will only embolden Iran - the world's largest sponsor of terror - by helping stabilize and legitimize its regime as it spreads even more violence and instability in the region. Instead of stopping the spread of nuclear weapons in the Middle East, this deal is likely to fuel a nuclear arms race around the world."
Translation: This deal will not last for long, even though Obama, Rouhani, the Supreme Leader and the P5+1 are supporting it. The US congress and Iran Parliament will block it.
- Copyright: Reuters
More strong words from some of President Obama's Republican critics. Bob Corker, who chairs the US Senate Foreign Relations Committee, says the organisation will conduct a "rigorous review" of the agreement.Quote Message: I want to read the agreement in detail and fully understand it, but I begin from a place of deep skepticism that the deal actually meets the goal of preventing Iran from obtaining a nuclear weapon. Iran continues to be the lead sponsor of terrorism in the world and relieving sanctions would make the Tehran regime flush with cash and could create a more dangerous threat to the United States and its allies.
Translation: This deal will influence the political future of president Rouhani. It can work both for and against him. Only time can tell.
Mike Huckabee, who is running to be the Republican presidential candidate, has denounced the deal. His comments are just one sign of the stiff resistance President Obama is likely to face in Congress.
- Copyright: EPA
French President Francois Hollande said on Tuesday major powers had to be vigilant about how Iran used any financial resources it gained from sanctions relief and urged Tehran to help find a solution to the Syrian crisis, Reuters reports.
"Now that Iran has a greater financial capacity, we need to be extremely vigilant on what Iran will be," Mr Hollande said. "Iran must show that it is ready to help us end the conflict," he added.
This is a significant success for Iranian people. Time for both US & Iranian government to put all political gains aside and join their people celebrating the moment.
Mohsen Assar, Fardis, Iran
In one of the last points in his televised address, Mr Rouhani had a dig at Israel, saying: "Today the people of Gaza, Lebanon, Qods [Jerusalem] and West Bank are also happy because the endeavours of the Zionist regime were defeated."
"Neighbouring countries! Do not be deceived by the Zionist regime," he went on.
Email Message: I live in Tehran. I have been waiting for this historic day just after Rohani became president. Last night I did not sleep, I was checking the news. Now I am very happy and I hope this deal can be implemented. Yet, there are some concerns about it. I am afraid some groups inside Iran and in US or other parts may put some obstacles in the way. It can be the first step toward having normal relations between Iran and western countries.
There is certainly is a lot of potential for disputes in the deal, says Mark Fitzpatrick - director of the Non-Proliferation and Disarmament Programme of the International Institute for Strategic Studies. And he says he anticipates plenty of disputes over the next 15 years.
But he says the negotiators have built in robust dispute resolution mechanisms. Mr Fitzpatrick, who has been a critical observer throughout the negotiation process, says it's a good deal.
The deal will mean a "happy day" in the region if it stops Tehran obtaining a nuclear arsenal, an unnamed Saudi officials tells Reuters. However, it will be bad if a reduction of sanctions allows Iran to "wreak havoc in the region". Saudi Arabia has previously been a fierce critic of the rapprochement between the US and the West.
Chief international correspondent
Mr Rouhani is going into an incredible amount of detail, trying to show that Iran acted in its national interest.
- Copyright: Getty Images
US Secretary of State John Kerry has echoed President Obama in welcoming the agreement, calling it "a step away from conflict and the possibility of nuclear proliferation", according to Reuters.
However, he warns that if Iran fails to keep its commitments, US, EU and UN sanctions "can and will snap right back into place".
I would like to announce to the Iranian people, that all sanctions will be lifted. All financial and banking sanctions will be lifted on the day of implementation of the deal.
- Copyright: AFP/Getty Images
UN Secretary-General Ban Ki-moon has also welcomed what he calls an "historic agreement".
"I hope - and indeed believe - that this agreement will lead to greater mutual understanding and cooperation on the many serious security challenges in the Middle East. As such it could serve as a vital contribution to peace and stability both in the region and beyond.
"The United Nations stands ready to fully co-operate with the parties in the process of implementing this... agreement," Mr Ban said in a statement.
We were pursuing four goals.
- Nuclear activities to continue in our country
- To lift the insane sanctions
- All UN resolutions, which we believed were illegal, to be ended.
- The UN Security Council to end its resolution on the Iranian nuclear programme.
Today all of those goals have been successful.
Mr Rouhani says the deal was achieved by avoiding threats and fostering respect in the negotiations between Iran and the world powers.
"We didn't ask for charity. We asked for fair, just and win-win negotiations"
- Copyright: BBC
Mr Rouhani says an "unnecessary crisis" has been resolved. He concedes that sanctions have affected everyday life.
Update: Mr Rouhani used the term "unnecessary crisis" earlier in a tweet, not in his televised statement
"A new chapter has started," Mr Rouhani says.
- Copyright: BBC
"Our differences are real, and the difficult history between our nations cannot be ignored. But things can change.
This deal offers an opportunity to move in a new direction, we should seize it."
And just as Barack Obama stops speaking, the Iranian president begins his press conference in Tehran.
"It would be irresponsible to walk away from this deal. I welcome a robust debate in Congress," Mr Obama says.
However, he goes on to say: "I would remind Congress that you don't make deals like this with your friends. I will veto any legislation that prevents the implementation of this deal."
"This deal is not built on trust - it is built on verification," Mr Obama adds.
"This deal meets every single one of the bottom lines when we started negotiating," Mr Obama says.
"Every pathway to a nuclear weapon is cut off. Iran will remove two-thirds of its centrifuges.
"Iran will get rid of 98% of its nuclear material.
"Iran will modify its reactor so it cannot enrich uranium.
"For the first time we will be in a position to ensure all these commitments."
US President Obama speaks, saying that "the US and its international partners have achieved something that that decades of animosity has not, a comprehensive deal.
"Today, because the US negotiated from a position of strength and principle, we have stopped the spread of weapons in this region."
- Copyright: AFP
Iran FM Javad Zarif: "We are committed to ensure that this programme will be completely implemented relying on the assistance of the IAEA and we want the international community to support this endeavour."
Press applause ends the news conference.
Iran's Javad Zarif is talking now. He warns the audience he is going to read the same statement as Federica Mogherini but in Persian.
Today is a historic day. It is a great honour for us to announce that we have reached an agreement on the Iranian nuclear issue. We delivered on what the world was hoping for, a shared commitment to peace.
No one ever thought it would be easy, historic decisions never are. We have always been aware we have a responability to our generations and future ones.
We have today agreed on the final text for the joint cooperation plan for action.
What we are announcing today is not only a deal, its a good deal for all sides.
EU's Federica Mogherini tells the news conference: "Iran reaffirms that under no circumstances will Iran ever seek, develop or acquire any nuclear weapons"
"It's a matter of days" before the UN Security Council considers a resolution approving the deal, France's Foreign Minister Laurent Fabius says according to AFP.
News of the deal sent the price of Brent crude down $1.15 to $56.70 a barrel, while the price of US crude fell $1.05 to $51.15.
I don't think it's a particularly significant reaction - it's entirely expected that prices would fall on the deal.
Increased output from Iran = increased supply of oil on global markets = lower prices.
I doubt also that there will be much change when the US wakes up as commodities tend to be traded 24 hours now, so I suspect it's already priced in.
President Putin says the countries negotiating the Iran nuclear deal made a "hard choice for stability and co-operation", reports Reuters.
As we wait for the negotiators' news conference to begin, our BBC Persia colleague Bahman Kalbasi reflects on the significance of this deal.
Russian President Vladimir Putin welcomes the Iran nuclear deal, saying "the world can breathe a sigh of relief", reports Reuters
Email Message: This is wonderful! Two months ago we returned from an outstanding 19 day trip to Iran. What wonderful people! There will be much celebrating there now. We hope many more people will feel confident to visit this amazing country. Congratulations to all the negotiators!
Linda Purcell, Washington DC
Some more reaction from the Iranian papers. The reformist daily Aftab-e Yazd also has a cartoon, this time casting Mr Zarif as Amir Kabir - a famous 19th-Century reforming prime minister. But it warns that Mr Zarif's efforts may - like Amir's - still be disrupted by those whose interests are harmed by them - a nod to possible future opposition to the deal from Iran's hardliners.Copyright: Aftab-e Yazd
In case you needed any more confirmation that the deal is done, the EU's negotiator has tweeted that it's all wrapped up.
Email Message: I am an Iranian/Canadian. I am very happy that both Iranian and western governments came to their senses finally and endorsed a long required deal which will bring peace to the world and prosperity for Iranian Nation. I would also hope that the Zionist regime as well as hard line US Republicans seize this unique opportunity and join the rest of the world and help this good deal go through.
We really do not need any more warmongers in Washington or Israel any more to take the world into turmoil again. I hope they let the peace prevail.from Abby
Looks like the full news conference on the deal is due to begin shortly.
- Copyright: Reuters
The US Secretary of State John Kerry seems to be particularly pleased with Tuesday's deal...
A spokeswoman for European External Action Service (EEAS) says the final plenary meeting of foreign ministers in Vienna has concluded. It is expected to be followed by a news conference.
Translation: As long as the world and Iran exist, we will always be in debt to [Foreign Minister Mohammed Javad] Zarif
This picture comparing Javad Zarif and Winston Churchill is doing the rounds on the Iranian Twittersphere.
I think the deal is bad for the world and the region. All inspections should be done without exceptions and all money or sanctions should be returned if violated 15-30 days and should be automatic. Up to Iran to prove to the world and its neighbours that they have not violated sanctions - after three strikes they should be hit with harder sanctions lasting much longer.
Mark J Donahue, USA
US President Barack Obama is to make a statement on the Iran deal at 07:00 (11:00 GMT)
It doesn't seem like Iran's hardliners are going to tone down their foreign policy rhetoric, as Washington Post Beirut correspondent Hugh Naylor notes...
Iran's President Hassan Rouhani tweets:
Kelsey Davenport, director for non-proliferation policy at the US-based Arms Control Association, notes that the UN arms embargo will reportedly remain in place for five years and the ban on buying missile technology for eight. This appears to be different to what Iranian state media is reporting.
Iran's moderate and reformist papers are hailing Foreign Minister Mohammad Javad Zarif as a hero, reports BBC Monitoring.
The Qanoon newspaper carries a front-page report depicting Mr Zarif as Arash, a heroic archer from Iranian folklore. According to myth, an ancient Iranian shah and a foreign king made a peace deal under which the border would be determined by an arrow shot - and Arash's heroic effort made sure Iran gained huge swathes of territory.Copyright: bbc monitoringQuote Message: From Arash to Zarif - We endured great suffering so that Iran can transform into a shining jewel.
Oil prices have dropped nearly 2% on news of the deal - which is expected to see increased supplies of Iranian crude on world markets as sanctions are lifted.
- Quote Message: Translation: Hello world! Goodbye sanctions! After 12 years the nuclear talks case has been closed, Iran and the P5+1 made a deal.
New York Times Iran correspondent Thomas Erdbrink says people will be celebrating in Tehran, but maybe not until Tuesday evening.
- Copyright: gettQuote Message: I think it is very welcome... It has the potential to effect a tectonic change in the Middle East. What is the alternative? The risk of a war in the Middle East. I think this gives the chance for co-operation in the Middle East, on [Islamic State], Syria.... It is like the Cuban agreement that Obama made - it's a big change in foreign policy. from Hans Blix Former head of the IAEA, the nuclear watchdog
Some details from the Iranian state news agency Irna.
- Iran's arms embargo will be lifted but some new restrictions will be brought in. Iran will be able to export and import arms on a case by case basis.
- EU and US economic and financial sanctions on Iran will be lifted when implementation of the deal starts.
- Iran will continue enrichment process. It will continue to use centrifuges for research and development.
- Quote Message: I do think it's very important for the United States and others to establish an unmistakable threshold here: that if the Iranians move towards nuclear weapons that could trigger the use of force against them, because I think we need to re-establish the terms on the issue of Iran not having nuclear weapons from Dennis Ross Former advisor on Iran to US President Barack Obama
Iranian senior nuclear negotiator Hamid Ba'idinejad has just posted this on Instagram.Quote Message: With the grace of God, the nuclear talks have ended successfully, and the negotiating teams are off to the venue for the official press conference to officially announce the deal. May this deal have auspicious and sustainable effects for the Iranian nation.
- Copyright: BBC
Iran's Javad Zarif expresses appreciation to all those who helped reached "a win-win solution in what was our view an unnecessary crisis.
"I believe this is a historic moment - we are reaching an agreement that is not perfect but it is what we could accomplish and an important achievement.
"Today could have been the end of hope but now we are starting a new chapter of hope."
Those statements opened the final plenary of negotiators with a full news conference expected later.
The EU's negotiator Federica Mogherini is speaking:
"I think we all know that the decision we are going to take is on the arms programme, but is much much more than this. This decision can open a new chapter in international relations... this is a sign of hope for the entire world."
Smiles between Iran's Zarif and the EU's Mogherini as we wait for them to begin speaking.
Negotiators are posing for a so-called "family photo" ahead of the formal announcement of the deal
Senior Iranian nuclear negotiator and deputy foreign minister Abbas Araqchi has just posted this picture on Instagram.
Chief international correspondent
in Vienna says the deal - which runs to more than 80 pages, with five very technical annexes - will be announced by EU's chief negotiator Federica Mogherini and Iran's chief negotiator - Foreign Minister Javad Zarif.
Email Message: I am an Iranian-American living in Los Angeles, California. I'm happy a deal was reached however I think nuclear power is a right that any nation has and bullying other nations out of their rights is no different to the bully at school taking a child's lunch box.
This full statement has just arrived from Israeli PM Benjamin Netanyahu - made before the deal was officially announced. As expected, he has condemned the deal and its negotiators.
"Later I will speak on the details of the agreement, but before that I want to say here and now: when you are ready to reach a deal at any price, this is the result.
"From preliminary reports it can already be concluded that this agreement is a historic mistake for the world. In all the fields that were supposed to prevent Iran arming itself with nuclear weapons, far-reaching concessions have been made.
"In addition Iran will receive billions of dollars with which it could fuel its terror machine, expansionism and aggression in the Middle East and the entire world. It is not possible to prevent an agreement when the negotiators are willing to give more and more concessions to those who call 'death to USA'. We knew very well that the desire to sign a deal is stronger than anything else and therefore did not commit to prevent the agreement.
"We did commit to prevent Iran from arming itself with nuclear weapons and that commitment still stands. I tell all the leaders in Israel now is the time to put petty politics aside and unite in the most crucial issue for Israel's security and future."
Email Message: Anyone who knows anything about Iran's history knows that they never had any interest in WMDs. From the beginning they've been at the forefront of condemning chemical weapons Saddam used against their people in a horrific war aided by America. Regardless of its brutality in other matters, Iran had no desire to build a bomb - the Americans have always known this and have finally stopped listening to Israeli propaganda that's crippled Iran's economy for absolutely nothing - an Israel armed to the teeth with nukes itself.
Iranian President Hassan Rouhani has tweeted
The IAEA's Mr Amano confirms that a deal has been signed. "A text has been signed on behalf of Iran by the country's Vice-President Ali Akbar Salehi. This is a significant step forward towards clarifying outstanding issues regarding Iran's nuclear programme."
Mr Amano says he has also signed.
Alidad Varshochi, Tehran:
Email Message: This is an historic day with potentially far-reaching implications for the Iranian economy, her politics, the wider region and ultimately Iran's people. Not only will it hopefully bring Iran out of isolation, it could pave the way for much-needed political reform by strengthening the hand of reformist elements in Iran who have been pigeon-holed since the second term of Ahmadinejad. There is so an air of hope and excitement today!Quote Message: I'm expecting massive celebration on the streets tonight!
The press officer for the EU's chief negotiator Federica Mogherini has just tweeted this picture.
Yukiya Amano, the director general of the UN's nuclear watchdog the International Atomic Energy Agency, has been speaking to reporters. He says he will provide a report on the military aspects of Iran's nuclear deal by the end of the year.
"The roadmap sets out a process under the November 2013 framework for co-operation to enable the agency, with the co-operation of Iran, to make an assessment of issues relating to possible military dimensions to Iran's nuclear programme by the end of 2015.
"It sets out a clear sequence of activities over the coming months, including the provision by Iran of explanations regarding outstanding issues.
"It provides for technical expert meetings, technical measures and discussions, as well as some separate agreements regarding the issue of the Parchin [military complex]. This should enable me to issue a report setting out the agency's final assessment of possible military dimensions to Iran's nuclear programme for the action of the board of governors by 15 December 2015."
BBC News producer Stuart Hughes, who is outside the Austria Centre in Vienna, tweets:
Sanctions on Iran have come just short of a total trade embargo.
Amir Paivar from the BBC's Persian Service explains their impact - with the help of some Lego.
More reaction from Israel, this time from Minister of Science, Technology and Space Danny Danon.
He calls the deal "dangerous for the whole world" and makes an appeal, presumably aimed at the US Congress, for national parliaments to block the deal.
"Now that the talks are over, it is time for action. I call upon our friends and allies in the relevant parliaments tasked with reviewing this agreement to reject this bad deal," Mr Danon said.
"If the elected leaders in the P5+1 allies who have democratic parliaments refuse to remove the very sanctions that brought Iran to the negotiating table, there is still a chance of forcing the Ayatollahs to agree to a deal that will truly block their path to a nuclear weapon."
Email Message: Pure poppycock. Iran will build a bomb right under our noses. And we can thank Obama. Hopefully the next president will have the backbone to do what's necessary when Iran breaks the deal or "spirit" of the agreement.
- Copyright: Reuters
French Foreign Minister Laurent Fabius (fourth from left) briefs French journalists at Palais Coburg, the Vienna venue for the nuclear talks.
British journalist Peter Oborne writes in an analysis piece for Middle East Eye that having accomplished a nuclear deal with Iran, US President Barack Obama may finally be worthy of his Nobel Peace Prize.Quote Message: If this deal can be bedded down I believe it could be as momentous as the historic reconciliation between the US and China in the early 1970s, which ended three decades of Chinese isolation and was one of the defining events of the twentieth century.
The deal is a "bad mistake of historic proportions", Reuters quotes Israeli Prime Minister Benjamin Netanyahu as saying.
More Israeli reaction, this time a tweet from its deputy foreign minister.
The New York Times says it has a few more details on the deal, including that it leaves "in place most of Iran’s infrastructure at the country’s main nuclear sites, though much of it would be disassembled and put in storage".
It also includes details on how long the agreement will last.Quote Message: Some restrictions limiting Iran’s program begin to phase out after 10 years. Then, after 15 years, Iran would be free to produce as much enriched uranium as it wanted.
Iranian state TV is reporting that Foreign Minister Mohammad Javad Zarif, US Secretary of State John Kerry and the EU's Federica Mogherini will make a joint statement at 08:30 GMT.
The Guardian's Saeed Kamali Dehghan says Iranians will be united in welcoming the landmark deal
But he warns that there will be some who will oppose it
Israeli cabinet minister Miri Regev has told AP that the deal gives Iran a "licence to kill".
The culture and sports minister adds that the deal is "bad for the free world and bad for humanity."
Trita Parsi, the president of the Washington-based National Iranian American Council, has welcomed the reports of a deal.
Diplomatic correspondent, Vienna
We do not know all the details but we do know that the deal will set firm limits on Iran's programme. It will allow for intrusive inspections from the IAEA. In return, there will be the phased lifting of international sanctions as Iran proceeds to comply with its obligations.
There is no chance that inspectors will be given anytime, anywhere rights. The inspectors will have to justify their visits. They will have a general right of access to nuclear sites.
Reuters have spoken to an Iranian diplomat who has confirmed the deal.
"All the hard work has paid off and we sealed a deal. God bless our people."
Although the deal has been agreed, it will be months before it starts to come into effect. Firstly, the US Congress will have 60 days to review the document, during which time President Barack Obama will not be able to lift the sanctions it has imposed on Iran. Congress could reject the deal, and keep the sanctions in place, but Mr Obama would be able to veto that. Congress would need a two-thirds majority to overturn a presidential veto. The BBC's Barbara Plett Usher has looked at whether that might happen.
The BBC's Chief International Correspondent Lyse Doucet reports that the press are being assembled...could there be an announcement shortly?
The Associated Press say they have been told by a senior Western diplomat that a deal is done.
The diplomat says that negotiators have reached a compromise allowing UN inspectors to press for visits to Iranian military sites, but access would not be necessarily granted.
Good morning on what looks like a historic day as world powers and Iran reportedly agree a comprehensive comprehensive nuclear deal on Tehran's nuclear programme.
We will be bringing you the latest news, insights from BBC correspondents, some of your emails and Twitter, and the best of the blogs, TV and press.