Late last month, Russian President Vladimir Putin met the leaders of Iran, Turkey and Syria, allegedly to discuss a final peace settlement in the Syrian civil war. Last week, he was in Syria to announce a partial withdrawal of Russian troops from the country because they had inflicted a “total rout” on the jihadist militants of Islamic State. Is the war really over?

The Islamic State no longer exists as an actual, physical state in either Iraq or Syria. Last summer, it lost Mosul, Iraq’s second largest city, to Iraqi troops backed by U.S. air power. Over the past four months it has lost all of eastern Syria, including its capital Raqqa, to a variety of forces, including Kurdish, Syrian and Iranian troops, and American and Russian bombers.

Just one year ago, Islamic State controlled a territory the size of Belgium and the Netherlands, with 7 or 8 million people. Now it is homeless, and even its propaganda output has dropped by 90 percent as its video production facilities were overrun one after the other. Its credibility among the faithful has taken an even bigger hit.

When the Islamic State leader, Abu Bakr al-Baghdadi, declared the re-founding of the traditional Islamic caliphate in the territory controlled by the Islamic State in mid-2014, he was claiming quite specifically that the enterprise had God’s blessing. So it’s deeply embarrassing when it loses all that territory again within 30 months to the local “enemies of God” and their infidel foreign allies.

The standard tactic of prophets, when their prophecies don’t come true, is to say that God is just testing people’s faith. We are already seeing some of this in Islamic State propaganda, but the people who watch it are not complete fools. If they are fanatics interested in waging jihad, they will not abandon the idea, but they will look for some other organization that has a better claim to divine support.

That alternative organization, at least in Syria, is al-Qaida. It still has credibility because it planned and carried out the 9/11 attacks, and its Syrian branch still controls most of the province of Idlib in northwestern Syria. It was never as interested as Islamic State in attracting foreign volunteers, but if you’re a Syrian jihadi, it’s now the destination of choice.

The Syria branch of al-Qaida was known as al-Nusra for a long time, but in the past two years it has changed its name approximately every second weekend in a bid to disguise its origins. It wasn’t trying to hide its loyalties from potential recruits. It was pretending to be a “moderate” rebel group so that it wouldn’t get hit by American bombers.

This didn’t actually fool the Americans, of course, but it did allow them to denounce the Russians — who were bombing al-Nusra/al-Qaida — as evil allies of Syrian dictator Bashar al-Assad who were killing “good” rebels. Oh, and killing innocent civilians, too, as if American bombs never hit civilians.

It was hard to tell whether Barack Obama’s State Department was being delusional or merely hypocritical, but it insisted that there was a “third force” of non-jihadi Syrians that was also trying to overthrow Assad. The U.S. was supporting them, and the wicked Russians were trying to kill them. But the “third force” didn’t exist — it had been swallowed up by al-Nusra years ago.

So the U.S. bombed Islamic State and nobody else, while the Russians only did that occasionally. Instead, they concentrated on bombing al-Nusra, which held territory much closer to Syria’s big cities. And Washington scored propaganda points by claiming that the Russians were bombing innocent civilians and”‘good” rebels.

Now, with Islamic State defeated, the U.S. forces will probably leave eastern Syria. (They have no legal status there, as they were never invited in by the Syrian government or authorized to intervene by the United Nations.) But most of the Russian forces will stay, because it will probably take another year to destroy al-Nusra in Idlib province.

So why was Putin in Syria to announce a Russian troop withdrawal? Because there’s a presidential election coming up in Russia, and he wanted to declare a victory and bring some troops home now. But the war goes on.

Gwynne Dyer is an independent journalist whose articles are published in 45 countries.

Follow BDN Editorial & Opinion on Facebook for the latest opinions on the issues of the day in Maine.