President Donald Trump and Israeli Prime Minister Benjamin Netanyahu spoke about the Iran nuclear deal in a phone call.

Trump called Netanyahu on Monday and the two leaders discussed “the dangers posed by the nuclear deal with Iran,” according to a statement from Netanyahu’s office.

“The two leaders spoke at length about the dangers posed by the nuclear deal with Iran and by Iran’s malevolent behaviour in the region and about the need to work together to counter those dangers,” read the statement.

Netanyahu and Trump have both denounced the deal, which exchanges sanctions relief for a rollback of Iran’s nuclear program. But the U.S. president and other top officials have wavered in their commitment to undoing the agreement.

During the phone call, Netanyahu also thanked Trump for the “warm hospitality” during his visit to Washington last month and for condemning anti-Semitism during a joint address to Congress, according to the statement.

The White House statement reporting the call described the conversation in more general terms.

“The two leaders discussed the need to counter continuing threats and challenges facing the Middle East region,” it said. “The Prime Minister thanked the President for his comments at the beginning of his speech before the Joint Session of Congress condemning anti-Semitism.”