Obama says the agreement is the product of years of work between Iran and six world powers, not just between the US and Iran. He says a diplomatic solution that keeps Iran from obtaining a nuclear weapon is preferable to an "unconstrained" Iranian nuclear programme or another war in the Middle East.
President-elect Donald Trump, who takes office on Friday, vowed at times during the presidential campaign either to walk away from the deal or to renegotiate it.