President Obama assured Israeli Prime Minister Benjamin Netanyahu in a Tuesday phone call that the accord reached between six world powers and Iran will prevent Tehran from obtaining a nuclear weapon, and that the U.S. stands ready to defend Israel.

The two spoke on the phone after Obama announced the U.S.-led deal. Obama told Netanyahu that the lengthy agreement will "verifiably prevent Iran from obtaining a nuclear weapon while ensuring the peaceful nature of Iran's nuclear program going forward," the White House stated afterward.

"The president also underscored his administration's stalwart commitment to Israel's security," adding that the agreement "will remove the specter of a nuclear-armed Iran," the White House stated.

Obama promised continued cooperation to counter terrorism in the region. The U.S. is concerned about Iran's support for "terrorism and threats toward Israel," and will consult closely and remain "vigilant in countering the Iranian regime's destabilizing activities in the region," the White House stated.

Defense Secretary Ash Carter's visit to Israel next week is a "reflection of the unprecedented level of security cooperation between the United States and Israel, and that the visit offers a further opportunity to continue our close consultation on security issues with Israeli counterparts," the White House added.

Those commitments came as Netanyahu and many conservative U.S. politicians railed against the agreement as one that mostly gave in to Iran's demands. Netanyahu called the deal a "historic mistake," while others said Obama's agreement to lift the United Nations arms embargo is a provision that could also directly threaten Israel.