Peter Bergen is CNN’s national security analyst, a vice president at New America and the author of “United States of Jihad: Who Are America’s Homegrown Terrorists and How Do We Stop Them?” The views expressed in this commentary are solely those of the author.

(CNN)On the campaign trail, Donald Trump was clear about his view of the 2015 Iran nuclear deal, which delays the Islamic state from acquiring nuclear weapons for more than a decade in exchange for the lifting of draconian US-led sanctions on Iran.