That's a military success, but not necessarily one that will last.
The Islamic State group is down, but it is not done.
His suggestion of finality for the anti-IS struggle, however, seemed premature.
If history is a guide, the reconquering of IS-held territory may prove a short-lived victory unless Iraq and Syria fix the problem that gave rise to the extremist movement in the first place: governments that pit one ethnic or sectarian group against another.
The U.S. military is still in Afghanistan amid uncertain peace prospects.
The Iraq experience followed a similar path. The U.S. military had seemingly conquered the Sunni insurgency in Iraq by 2011 after eight years of war. American forces departed, only to see sectarian tensions revive and provide an opening for Syria-based IS to take over large parts of Iraq in 2014.
As Army Gen. Lloyd Austin, architect of the plan for defeating IS in Iraq and Syria, put it in 2015, the majority of Sunnis in Iraq simply refused to fight for their government when IS swept across the Euphrates and took control of much of the country's north and west.
"They allowed — and in some cases facilitated — ISIS's push through the country," Austin said. The reason for their complicity, though he didn't say it, was a deep Sunni distrust of Shiite Prime Minister Nouri al-Maliki.
President Barack Obama, who had called the 2003 U.S. invasion of Iraq a mistake, sent small numbers of U.S. military advisers back to Iraq in the summer of 2014, followed by an air campaign. This time a new approach was adopted: train and equip the Iraqis to do the fighting, rather than do the fighting for them. Thus was born a counter-IS strategy that ultimately prevailed in both Iraq and Syria.
The problem now is achieving the political goal of reconciling the rival internal groups in both countries.
Stephen Biddle, a professor of international and public affairs at Columbia University, sees a strong chance that IS will remain an insurgent threat in Iraq and Syria with an intensity that is likely to grow.
"If it gets worse, which it probably will, then I suspect that analysts in 2025 looking back on this will see the eviction of ISIS from its last contiguous territory and the associated American celebrations as yet another example of overly narrow, short-sighted reactions to secondary events," Biddle wrote in an email exchange.
Brett McGurk, the former special U.S. envoy to the counter-IS coalition, wrote on Twitter Wednesday that the Islamic State group is "near finished" in Syria "thanks to the campaign plan designed under Obama and carried forward under Trump." McGurk, who resigned in December after Trump abruptly declared that American forces would withdraw entirely, said the military success "requires follow-through."
A new analysis by the Institute for the Study of War says IS is re-establishing insurgent networks in historical strongholds in northern Iraq and setting the stage for future attacks on the Iraqi government.
"The U.S. and its partners should not view the current relative security in Baghdad as confirmation of the defeat of ISIS," the Institute's Brandon Wallace wrote in a recent analysis.
Gen. Joseph Votel, who oversees U.S. military operations in the Middle East as commander of Central Command, told Congress earlier this month that extremism in Iraq and Syria is a "generational problem."
When the U.S. military began its counter-IS campaign it focused mainly on Iraq, in part because Baghdad itself seemed in danger. The going was slow, and in May 2015 the whole effort appeared in doubt when Iraqi defenders were routed at Ramadi. The U.S. defense secretary at the time, Ash Carter, questioned the Iraqis' will to fight, but gradually the tide began to turn in their favor.
The Syria campaign also began slowly and was marked by startling setbacks. In September 2015, Austin, the commander of U.S. Central Command, acknowledged during congressional testimony that despite hopes of putting several thousand U.S.-backed Syrian rebels into battle against IS, they had managed only four or five.
"This is a total failure," Sen. Jeff Sessions, R-Ala., declared, prematurely.
But the effort gained momentum, and by early 2016 the U.S. had recruited and organized what came to be called the Syrian Democratic Forces, which U.S. special operations troops trained, advised and assisted. Despite new complications on the battlefield, such as Russia's entry into the conflict, the campaign methodically recaptured IS territory and cut off the extremists' lifelines.
EDITOR'S NOTE — Robert Burns has been covering the U.S. military and national security for The Associated Press since 1990.
This story has been corrected to show Sessions' political party was R, not D.
An AP News Analysis