<P> The agreement followed the Joint Plan of Action (JPA), an interim agreement between the P5 + 1 powers and Iran that was agreed to on 24 November 2013 at Geneva . The Geneva agreement was an interim deal, in which Iran agreed to roll back parts of its nuclear program in exchange for relief from some sanctions . This went into effect on 20 January 2014 . The parties agreed to extend their talks with a first extension deadline on 24 November 2014 and a second extension deadline set to 1 July 2015 . </P> <P> An Iran nuclear deal framework was reached on 2 April 2015 . Under this framework Iran agreed tentatively to accept restrictions on its nuclear program, all of which would last for at least a decade and some longer, and to submit to an increased intensity of international inspections under a framework deal . These details were to be negotiated by the end of June 2015 . The negotiations toward a Joint Comprehensive Plan of Action were extended several times until the final agreement, the Joint Comprehensive Plan of Action, was finally reached on 14 July 2015 . The JCPOA is based on the framework agreement from three months earlier . </P> <P> Subsequently the negotiations between Iran and the P5 + 1 continued . In April 2015, a framework deal was reached at Lausanne . Intense marathon negotiations then continued, with the last session in Vienna at the Palais Coburg lasting for seventeen days . At several points, negotiations appeared to be at risk of breaking down, but negotiators managed to come to agreement . As the negotiators neared a deal, U.S. Secretary of State John Kerry directly asked Iranian Foreign Minister Mohammad Javad Zarif to confirm that he was "authorized to actually make a deal, not just by the (Iranian) president, but by the supreme leader?" Zarif gave assurances that he was . </P> <P> Ultimately, on 14 July 2015, all parties agreed to a landmark comprehensive nuclear agreement . At the time of the announcement, shortly before 11: 00 GMT, the agreement was released to the public . </P>

When did the iran nuclear deal go into effect