In an unyielding address before the United Nations General Assembly on Saturday afternoon , President Mahmoud Ahmadinejad of Iran rebuffed attempts to rein in his country 's nuclear program , railing against the United States as an aggressor and restating a compromise proposal that had already been rejected .