Ever since the disclosure of undeclared activities within the Iranian nuclear program in 2002, the international community had doubts about its exclusive peaceful direction. Secret procurement of uranium and equipment, and late and bit by bit disclosures lead to missing confidence in the trustworthiness of Iran; intelligence reports even suggest that Iran had launched a structured program and "[...] carried out activities relevant to the development of a nuclear explosive device". Since 2002, the IAEA is in discussions with Iran and the Director General reports quarterly to the Board of Governors on this issue. These reports are timely derestricted and released to the general public and provide a seamless documentation of this case. In a second track, the E3 started in 2002 negotiations with Iran that accumulated in the Geneva interim agreement and ultimately in the Vienna final agreement in July 2015. This talk gives an overview of the provisions of this Joint Comprehensive Plan of Action, combined with an analysis of the IAEA reports.