The U.S. special operations raid that killed the Islamic State militant group’s top terrorist Abu Bakr al-Baghdadi on Saturday was almost perfect. The military, the intelligence agencies, the American allies and Trump administration officials all deserve credit for this success, as well as the drone strike Monday that killed ISIS spokesman Abu Hassan al-Muhajir. But the Trump administration’s recent actions could make the al-Baghdadi raid one of the last of its kind for many years.

For more than a decade, until June 2019, I represented the Department of Homeland Security in interagency discussions that led to numerous successes — and some failures — against ISIS, al Qaeda and other terrorists at home and overseas. Over those years, we learned what it takes to defeat groups such as ISIS, and our success is based on two crucial factors that President Donald Trump’s recent decisions put at risk.