This article was originally written for TeleSUR English.

As the jihadi militants of the Islamist State — IS, formerly known as ISIS — rampage through Syria and Iraq, wantonly beheading infidels and sending hundreds of thousands scurrying for safety, many in the West are still all too eager to reduce the rapidly escalating conflict to a sectarian struggle between Sunnis and Shias, or a broader clash of civilizations between Muslims and everyone else — between Islam and other religions, between Islam and non-believers, or between Islam and the modern world.

But, its own practices and ideological narratives aside, the Islamic fundamentalism of IS is not some kind of barbaric relic from an unenlightened religious past, nor can the ongoing wars in the Middle East be reduced to a simplistic binary narrative. Like European fascism, Islamic fundamentalism is a decidedly modern phenomenon, and wherever we look in modern history, we find that the Western powers have always played a major role in its rise. The Islamic State is no exception.

The jihadists of IS and its antecedent groups initially rose to prominence in the vacuum left by the US-led invasion and occupation of Iraq. When the US toppled Saddam Hussein in 2003, they did not only purge the state apparatus of his Baathist allies, but they purged it of the entire Sunni minority of which Saddam himself had been a part. Most dramatically, large parts of the majority-Sunni army were disbanded, leaving tens of thousands of combat-savvy and frustrated young men without pay and without any meaningful influence on the new Shia-dominated and US-backed political establishment in the country.

As was already obvious to many observers back then, the US invasion thus set the stage for a disastrous backlash. Many of Saddam’s former Sunni soldiers ended up joining the jihadist insurgency against the US occupation, giving Al Qaeda a new foothold in Iraq — a country where it had previously had no real influence to speak of. The bloody sectarian strife that subsequently broke out, killing hundreds of thousands of Iraqis and preparing the ground for further radicalization, was not the cause but the outcome of the destabilization of the Iraqi state at the hands of the occupying forces.

In fact, the link between the US occupation and the rise of Islamic fundamentalism in Iraq is more direct than most realize. Last week, the New York Times ran a fascinating background article about Abu Bakr al-Baghdadi, the Muslim cleric and ruthless leader of IS who just crowned himself Caliph of the Islamic world, which noted that, “at every turn, Mr. Baghdadi’s rise has been shaped by the United States’ involvement in Iraq — most of the political changes that fueled his fight, or led to his promotion, were born directly from some American action.”

When the US army first detained Baghdadi in Fallujah in early 2004, he was considered little more than a “street thug.” But according to the Hisham al-Hasimini, an Iraqi scholar who studied Baghdadi’s background for Iraq’s intelligence agency, the current IS leader underwent a process of radicalization during his five years’ imprisonment in a US detention facility. “Iraqi to the core,” the Times writes, “his extremist ideology was sharpened and refined in the crucible of the American occupation.”

In subsequent years, Baghdadi surrounded himself with former members of Saddam’s Baathist party, who — despite their lack of credentials as radical Islamists — turned out to be key allies in the establishment of Al Qaeda in Iraq (the immediate antecedent to ISIS) as an insurgent movement and para-state, replete with its own army of jihadists, its own base of taxation (or extortion), its own oil revenues from the fields it managed to capture in Syria (and now Iraq), and increasingly its own public services (like local transport and religious education) in the areas under its control.

But while the world’s morbid fascination with IS stems from its lightning advances and its campaign of brutality in western Iraq last June, it was in Syria — as the world largely looked the other way — that the jihadist group groomed its warrior feathers, gaining a strategic stronghold, mopping up moderate Islamist groups to significantly expand its own numbers, rooting out the Free Syrian Army, besieging the Kurdish resistance, and obtaining various additional sources of income that were to prove crucial in its further campaigns and its efforts to cement itself as a self-sustaining para-state.

Meanwhile, as it brandished its anti-Shia credentials, ISIS received lavish financial support from one of the United States’ main allies in the region: Saudi Arabia. The other Gulf states — Qatar, Kuwait, the United Arab Emirates — are also implicated in directly or indirectly financing various extremist groups in Syria, including Jabhat al-Nusra, the official Al Qaeda affiliate in the country and second biggest faction after ISIS. But as one senior Qatari official affirms, “ISIS has been a Saudi project.” Patrick Cockburn, a long-term Middle East correspondent, notes that “Saudi Arabia has created a Frankenstein’s monster over which it is rapidly losing control.”

Given the United States’ historical support for extremist groups — most notably its sponsoring of the mujahideen in their struggle against communism in Afghanistan, which directly paved the way for the rise of the Taliban and Al Qaeda — it should not come as a surprise that, this time around, the US has also been directly involved in enabling the rise of ISIS. In fact, it turns out that leading US lawmakers, including Republican Senator John McCain, have been actively pressing their allies to support the Syrian opposition and oust Assad. “Thank God for the Saudis and Prince Bandar, and for our Qatari friends,” McCain exclaimed as as recently as February 2014. (Prince Bandar is alleged to be the Saudi point man behind the funding of ISIS.)

At the same time, another important US ally in the region, Turkey — a NATO member — has been a crucial hub for ISIS by deliberately opening its 500-mile border to allow Syrian rebels to fall back onto Turkish territory and to permit Western jihadists – alienated young Muslim men from Europe, Australia and the US – to join their comrades in Syria. Consistent rumors have been doing the rounds that the head of Turkey’s intelligence services, Hakan Fidan, a key confidante of Prime Minister Erdogan, was personally responsible for the country’s covert support for ISIS.

Greatly strengthened by Gulf financing and an influx of foreign fighters, with Turkey providing a much-needed back-base and thoroughfare, and with the Obama administration actively refusing to support the democratic Syrian resistance, ISIS quickly destroyed and eclipsed the moderate opposition, solidly growing into the main rebel group in Syria and finishing off the last-remaining strongholds of the Syrian revolution — until it deemed itself powerful enough to launch back into Iraq and march right up to Tikrit without encountering any serious resistance.

Now, in one of the greatest ironies of all, the United States finds itself back in Iraq, eleven years after its original invasion, bombing its own tanks, its own artillery pieces, and its own armored personnel vehicles — once provided to the Iraqi army during the eight-year occupation and summarily seized by ISIS as it sacked deserted bases across western Iraq — to stem the advances of an extremist enemy that its own imperial misadventures gave rise to. Once again, the US and its allies have created a monster they can no longer control. Once again, they will go to war to try to eradicate it. And once again, they will probably end up making an even bigger mess in the process.