Beirut - Daesh looks about to lose its last foothold - on the banks of the Euphrates near the Iraq border - but while its era of territorial rule may be over for now, there is near universal agreement that Daesh remains a threat.

WHAT HAS ITS TERRITORIAL DEFEAT ACCOMPLISHED?

Daesh’s possession of land in Iraq and Syria set it apart from other like-minded groups such as Al Qaida and became central to its mission when it declared a caliphate in 2014, claiming sovereignty over all Muslim lands and peoples.

The destruction of the quasi-state it built there has denied the group its most potent propaganda and recruiting tool as well as a logistical base from which it could train fighters and plan coordinated attacks overseas.

It also freed its former subjects from summary executions and draconian punishment for breaking its strict laws or, for some minorities, sexual slavery and slaughter.

Warfare wiped out thousands of its fighters. And, financially, its defeat deprives it of greater resources than any modern extremist movement has enjoyed, including taxes on its inhabitants and the proceeds of oil sales.

WHAT THREAT DOES Daesh STILL POSE IN IRAQ AND SYRIA?

In its previous guise as an Al Qaida offshoot in Iraq a decade ago, Daesh navigated adversity by going underground, biding its time to rise suddenly again.

Since suffering devastating territorial losses in 2017, Daesh has steadily turned again to such tactics. Sleeper cells in Iraq have staged a scatter-gun campaign of kidnappings and killings to undermine the Baghdad government.

The group has also carried out many bombings in northeast Syria, which is controlled by US-backed Kurdish forces, including one that killed four Americans in January. Kurdish and US officials say it remains a menace there.

In Syria, Daesh fighters are on the brink of losing their last foothold of Baghouz at the Iraqi border. But they still have a presence in sparsely populated territory west of the Euphrates River in an area otherwise held by the Syrian government.

WHAT HAS HAPPENED TO ITS LEADERS, FIGHTERS AND FOLLOWERS?

The fate of the Daesh leader, Abu Bakr Al Baghdadi, remains a mystery. The US government’s top experts strongly believe he is alive and possibly hiding in Iraq, US sources recently said. Other top-echelon leaders have been killed in air strikes.

Thousands of Daesh insurgents and civilian followers have also been killed and thousands more captured. An unknown number remain at large in both Syria and Iraq.

Iraq is putting on trial, imprisoning and often executing Daesh detainees. The US-backed Syrian Democratic Forces (SDF) holds many hundreds of Daesh fighters and followers.

Ahead of the final assault on Baghouz, the SDF said it had 800 foreign fighters and more than 2,000 Daesh wives and children in its hands. The SDF has evacuated a large number of Daesh followers from Baghouz, so these numbers are now higher.

Many low-level local operatives have been released in Syria.

The SDF complains that Western states are reluctant to take back the foreign fighters, who are widely seen as a security threat at home but who might be hard to legally prosecute.

CAN IT STILL ORGANISE OR INSPIRE ATTACKS OVERSEAS?

As Daesh clung to its last scrap of land, the head of Britain’s spy agency MI6 warned that the group would return to “asymmetric” attacks.

Even after it began losing ground militarily, Daesh still claimed responsibility for attacks made in different countries, though often these have been blamed on “lone wolves” without its direction.

It started years ago to call on followers abroad to plan their own attacks, rather than focusing purely on ones staged by trained operatives supported by the group’s hierarchy.

In early 2018 the head of US military central command said Daesh was resilient and remained capable of “inspiring attacks throughout the region and outside of the Middle East”.

WHAT DOES ITS FALL MEAN FOR THE FUTURE OF GLOBAL JIHAD?

Although Daesh’s core territory was in Iraq and Syria, extremists fighting in other countries, notably Nigeria, Yemen and Afghanistan, pledged their allegiance to it.

Whether those groups will still wear its mantle, especially if Al Baghdadi is captured or killed, is an open question, but there seems little chance they will soon end their campaigns.

Al Qaida also retains numerous franchises around the world, and other militant groups operate in countries where normal governance has broken down.

Extremist ideology has long proven itself able to mutate as circumstances change, and there is no shortage of warfare, injustice, oppression, poverty, sectarianism and naked religious hatred for militants to exploit.