President Donald Trump said he would back Israel if it used military force against Iran, former US National Security Advisor John Bolton claims in his new book.

Bolton, who served for 17 months as Trump’s NSA, claims in his new 592-page book, The Room Where It Happened: A White House Memoir, that he urged the president not to try to solve the Arab-Israeli conflict, and instead focus his efforts in the Middle East to ensuring that Iran does not obtain a nuclear weapon.

In part, Bolton called on Trump to withdraw from the 2015 nuclear deal with Iran, hinting that it might be necessary to use force to prevent Tehran from gaining nuclear weapons.

"I warned Trump against wasting political capital in an elusive search to solve the Arab-Israeli dispute and strongly supported moving the US embassy in Israel to Jerusalem, thereby recognizing it as Israel’s capital," Bolton wrote. "On Iran, I urged that he press ahead to withdraw from the nuclear agreement and explained why the use of force against Iran’s nuclear program might be the only lasting solution."

During the discussion, which took place in 2017, before Bolton was appointed National Security Advisor, Trump is said to have sent a message via Bolton to Israeli Prime Minister Binyamin Netanyahu, endorsing Israel’s use of force against Iran.

“You tell Bibi that if he uses force, I will back him. I told him that, but you tell him again,” Trump told Bolton, according to the yet-to-be published book.

Bolton also described an October 2018 conversation with Russian President Vladimir Putin, who said that Israel would likely not attack Iran.

"Israel, he said, could not conduct military action against Iran alone because it didn't have the resources or capabilities, especially if the Arabs united behind Iran, which was preposterous," Bolton wrote.

Bolton also claimed that Jared Kushner, President Trump’s son-in-law and senior adviser, had blocked Netanyahu from contacting Trump in August 2019 during the G7 summit in Biarritz, France.

Netanyahu, who had been concerned by reports that Iranian Foreign Minister Javad Zarif had been invited by French President Emmanuel Macron to the summit in order to meet with President Trump to discuss easing tensions between the two countries, had attempted to speak with Trump, only to have his call blocked, Bolton claimed. Read more at Arutz-7