Israel admitted for the first time Wednesday that it destroyed a suspected nuclear reactor being built in Syria in 2007 – and said the air strike should be a warning to Iran not to develop nukes.

The Israeli military released previously classified cockpit video, images and intelligence materials about its Sept. 6, 2007, attack on the Al-Kubar facility, which was being built with help from North Korea near Deir al-Zor in eastern Syria.

Military officials said the reactor had been months away from activation when eight jet fighters — F-16s and F-15s — took off from the Ramon and Hatzerim air bases en route to the Deir al-Zor region, Reuters reported.

The pilots called out the operation’s code word – “Arizona” – that signaled that they had dropped about 17 tons of bombs on the site, the Jerusalem Post reported.

Israel’s decision to go public comes after repeated calls in recent months by Prime Minister Benjamin Netanyahu for the US and the international community to take stricter measures on Iran, Syria’s ally.

Israeli intelligence Minister Israel Katz tweeted: “The (2007) operation and its success made clear that Israel will never allow nuclear weaponry to be in the hands of those who threaten its existence – Syria then, and Iran today.”

In his 2010 memoir “Decision Points,” former President George W. Bush revealed that he discussed intelligence about the Syrian facility with then Israeli Prime Minister Ehud Olmert before it was leveled — but did not give him the go-ahead for the raid.

James Jeffrey, Bush’s deputy national security adviser, on Wednesday said the former president had been “absolutely supportive” of Israel.

“(He) made it clear that we were very happy that events had eliminated this threat and that if there were any threats to Israel that would emerge from this situation, the United States would stand with Israel, period,” Jeffrey told Israel’s Army Radio.

In 2008, the US presented what it described as intelligence showing that the hermit kingdom had helped Syria with “covert nuclear activities.” Syria dismissed the accusations as part of a campaign to discredit the Damascus government.

“The Syrian government regrets the campaign of lies and falsification by the US administration against Syria, including allegations of nuclear activity,” said a government statement issued on the Syrian state news agency.

Iran, which claims its nuclear program in only peaceful in nature, signed a 2015 deal under which it accepted curbs on its program in exchange for sanctions relief. President Trump and Netanyahu have both been critical of the deal.

The Israel Defense Forces declassified internal “top secret” intelligence reports in Hebrew, some of them partially redacted.

One, dated March 30, 2007, said: “Syria has set up, within its territory, a nuclear reactor for the production of plutonium, through North Korea, which according to an (initial) worst-case assessment is liable to be activated in approximately another year. To our assessment secretive and orderly for achieving a nuclear weapon.”

Israeli intelligence officials predicted that the suspected reactor “would turn operational by the end of 2007.”

The mission to raze the facility began at 10.30 p.m. Sept. 5, 2007, and ended with the return of the warplanes at 2.30 a.m. the next day, according to the IDF.

On that day, Syria reported that its air defenses had repelled an incursion by Israeli warplanes.

Syria, a signatory of the 1970 nuclear Non-Proliferation Treaty, has always denied that the facility was a reactor or that Damascus had cooperated with Pyongyang to develop nukes.

The IDF’s announcement Wednesday noted that the area in question, around Deir al-Zor, was captured by ISIS after the Syrian civil war broke out in 2011.

Had there been an active reactor there, the IDF, it would have had “severe strategic implications on theentire Middle East as well as Israel and Syria.”

Israel on Wednesday also released an aerial photograph captioned “before the attack” and showing a box-like structure surrounded by smaller buildings.

A series of black-and-white videos, taken above the target, shows the structure in cross-hairs. A voice is heard counting down three seconds, a cloud of smoke rises from the structure as it explodes.

The release Wednesday came ahead of the publication of a memoir by Olmert containing material about the 2007 strike.