Iran had previously agreed to suspend its nuclear processing program to avoid sanctions from the United Nations .