The U.N. Security Council on Monday backed Iran's nuclear agreement with world powers but the Islamic Republic's Revolutionary Guard attacked the resolution, underlining powerful opposition to the deal.

U.S. President Barack Obama, who also faces domestic political opposition to the agreement, hailed the United Nations endorsement, saying it showed last week's accord commanded broad international support as the best way of ensuring Iran never gets nuclear weapons.

The European Union also approved the deal, which curbs Iran's nuclear program in return for easing economic sanctions, while Germany rapidly moved to revive its once close trading relationship with Tehran. EU foreign ministers, inspired by the diplomacy that led to the nuclear pact, agreed to try and involve more countries in restarting peace talks between Israel and the Palestinians.