BEIRUT (AP) — The Islamic State group's self-styled caliphate across parts of Iraq and Syria seemed largely defeated last year, with the loss of territory, the killing of its founder and an unprecedented crackdown on its social media propaganda machine.
But tensions between the United States and Iran and the resulting clash over the U.S. military presence in the region provide a comeback opportunity for the extremist group, whose remnants have been gradually building up a guerrilla campaign over the past year, experts say.
U.S. troops in Iraq had to pause their operations against ISIS for nearly two weeks amid the tensions. From the other side, Iranian-backed Iraqi militiamen who once focused on fighting ISIS have turned their attention to evicting U.S. troops from the Middle East.
In the meantime, Islamic State group sleeper cells intensified ambushes in Iraq and Syria in the past few weeks, killing and wounding dozens of their opponents in both countries. Activists and residents say the attacks have intensified since the United States assassinated top Iranian general Qassem Soleimani in a Jan. 3 drone strike at Baghdad's airport.
It is not clear whether the uptick is related to the repercussions that followed the strike, and it is possible some of the attacks had been planned before Soleimani's killing. U.S. officials deny seeing an increase in ISIS activities.
"They haven't taken advantage of it, as far as we can see," said James Jeffrey, the State Department envoy to the international coalition fighting the Islamic State.
Mervan Qamishlo, a spokesman for Syria's U.S.-backed Kurdish-led force, said the intensification of ISIS attacks began earlier, in October, when Turkey began a military operation against Kurdish fighters in northern Syria.
Still, ISIS clearly gained at least temporary breathing room as the killing of Soleimani, along with a senior Iraqi militia leader, brought Iran and the United States to the brink of all-out war and outraged Iraqis, who considered the strike a flagrant breach of sovereignty.
On Jan. 5, Iraq's parliament called for the expulsion of the 5,200 U.S. troops from the country who have been there since 2014 on a mission to train Iraqi forces and assist in the fight against ISIS. The U.S.-led coalition then put the fight against ISIS on hold to focus on protecting its troops and bases. It said last week that it had resumed those operations after a 10-day halt.
"This tension will for sure help Daesh, as all forces fighting it become busy with other matters," said Abdullah Suleiman Ali, a Syrian researcher who focuses on jihadi groups, using the Arabic acronym for ISIS.
He said Iran-U.S. tensions help give ISIS the opportunity to restructure as its new leader, Abu Ibrahim al-Hashimi al-Qurayshi, strengthens his grip. Al-Qurayshi was announced in the post after longtime leader Abu Bakr al-Baghdadi was killed by a U.S. raid in Syria in October.
"The day the American-Iranian clash began, Daesh started intensifying its attacks," said Rami Aburrahman, who heads the Britain-based Syrian Observatory for Human Rights, an opposition war monitor.
On Jan. 14, ISIS launched a cross border attack from Syria into Iraq, killing an Iraqi officer. A day later, ISIS fighters attacked an Iraqi force in the central Salaheddine region, killing two soldiers and wounding five. Two days later, an Iraqi intelligence major was killed in a car bomb north of Baghdad.
One of the deadliest attacks occurred in Syria on Jan. 14, when ISIS fighters stole some 2,000 cattle from a village near the eastern town of Mayadeen. One of the four shepherds who own the cattle informed authorities, and a Syrian government military force was sent to the area, where they were met by ISIS fire.
As the forces returned to their base, ISIS gunmen laid an ambush, killing 11 troops and pro-government fighters as well as two shepherds.
ISIS published photos showing bodies of soldiers said to have been killed in the attack, along with a destroyed armored vehicle and an overturned truck.
On the same day, seven shepherds were found shot dead west of the eastern city of Deir el-Zour. On Jan. 4, 21 shepherds were found shot in the back of their heads, their hands tied behind their backs.
Dozens of members of the U.S.-backed Kurdish-led Syrian democratic Forces have been killed in the past months in attacks claimed by ISIS.
With the painful strikes, ISIS is "taking advantage to boost its influence" and send a message to their supporters that they are still strong, said Omar Abu Laila, an activist from Deir el-Zour now based in Europe.
"Some civilians don't dare leave their homes after sunset because of fear of Daesh," Abu Laila said.
The group is also trying to restore its presence on social media and the Internet — a key component to its ability to raise financial support from abroad and recruit new fighters.
ISIS members and supporters for years have sown fear and projected power with the grisly videos they release on social media showing beheadings, amputations and victims burned to death or thrown from buildings.
In recent weeks, European authorities, coordinated by Europol, have shut down thousands of ISIS propaganda platforms and communication channels in an unprecedented crackdown. The crackdown forced ISIS's news agency and other channels off the Telegram text messaging system, the group's primary outlet since 2015.
"The Europol campaign of November had a massive impact on ISIS support networks on Telegram," said Amarnath Amarasingam, a terrorism researcher at Queen's University in Ontario, Canada.
Since then, ISIS has shifted to other messaging platforms, including the Russia-based TamTam, Canada-based Hoop Messenger and BCM Messenger. They also tried to get back on Twitter using hacked accounts, Amarasingam said.
So far, those efforts have not been very successful, as international authorities work to chase them down on those outlets as well.
"None of this is really matching the presence they had on Telegram from 2015 onwards," Amarasingam said.
Read the Top 8
Sign up for the Top 8, a roundup of the day's top stories delivered directly to your inbox Monday through Friday.