The agreement, which met the standards of the International Agency on Atomic Energy, would have restricted Iran to not doing any of the things they are now free to do, for 15-years. In exchange, countries, other than the US, would release to Iran previously seized assets. This is similar to an agreement recently in which Iran released an American held in prison, in exchange for South Korea releasing Iranian savings they had frozen.