ISIS has issued a chilling warning to the US as the country prepares to mark 25 years since the 9/11 attacks on the World Trade Centre in 2001.

The terror group has issued a statement in the ISIS propaganda al-Naba publication warning Americans that their war against the country is "far from over."

The article, published in Arabic, carries the headline "And America Lost" and presents a lengthy argument about the perceived decline of the United States since September 11, 2001.

It claims America's wars in Iraq and Afghanistan exposed the limits of its military power, arguing that Washington entered the conflicts believing it could impose its will and reshape the Middle East.

The article claims the US has suffered not only military setbacks but also economic, political and "moral" losses.

It repeatedly contrasts American power with what it describes as the fight against US military intervention by extremists.

It claims America has increasingly been forced to rely on air power, drones, special forces and allied forces rather than conventional military occupations.

According to the article, this demonstrates the limits of America's ability to project power worldwide.

The article's claims form part of ISIS's broader propaganda narrative, which seeks to portray Western military intervention as unsuccessful while presenting Islamist militants as capable of resisting vastly more powerful states.

Despite its headline declaration that "America lost", the publication offers no independent evidence that the United States has suffered the kind of comprehensive defeat it describes.

Both ISIS and al-Qaeda have suffered major territorial, organisational and leadership losses following years of US-led military operations and international counter-terrorism efforts.

TOPSHOT-IRAQ-CONFLICT-MOSUL

The 9/11 attacks were planned and carried out by al-Qaeda, the terrorist organisation led by Osama bin Laden. Almost 3,000 people were killed. ISIS did not exist at the time.

But they prompted the United States to launch its so-called "War on Terror," beginning with the invasion of Afghanistan in October 2001, in an attempt to destroy al-Qaeda's infrastructure and remove the Taliban government that had sheltered the group's leadership.

Two years later, the US and its allies invaded Iraq and the subsequent collapse of the Iraqi state created conditions in which extremist groups were able to flourish.

One of those groups was founded by Jordanian militant Abu Musab al-Zarqawi. His organisation became an al-Qaeda affiliate in Iraq, known as al-Qaeda in Iraq (AQI), following the US-led invasion in 2003. After Zarqawi was killed in 2006, the organisation went through several transformations before eventually becoming what is now known as ISIS, or Islamic State.

Although ISIS emerged from the Iraqi insurgency and had its roots in al-Qaeda in Iraq, it eventually broke with al-Qaeda and became a rival organisation.

The two groups differed over strategy, leadership and the timing and methods they believed should be used to establish an Islamic state.