In This Wednesday, Feb. 20, 2019 photo, Mohammad Bakhsh, an ethnic Hazara bicycle repairman speaks during an interview with The Associated Press in Herat, Afghanistan. Iran paid, trained and armed thousands of Afghan Shiites to fight in Syria to defend its ally, President Bashar Assad. Most were impoverished members of the minority Hazara community unable to find jobs. Returning home as Syria’s war winds down, they face suspicion and fear.

HERAT, Afghanistan (AP) — An impoverished teenager, Mehdi, joined the wave of Afghans who left their homeland, dreaming of reaching Europe to find work. Where he ended up was entirely different: On the battlefields of Syria's civil war, in a militia created by Iran.

Mehdi was one of tens of thousands of Afghans recruited and trained by Iran to fight in support of Tehran's ally, Syrian President Bashar Assad. In Syria, he was thrown into one of the war's bloodiest battles, surrounded by the bodies of his comrades, under fire from Islamic militants so close he could hear their shouts of "Allahu akbar" before each mortar blast.

Iran created a network of militias made up of Shiites from across the region and used it to save Assad from the uprising against his rule — not only Afghans but also Pakistanis, Iraqis and Lebanese. Now with the 8-year war in Syria winding down, the question is what will Tehran do with those well-trained, well-armed forces.

Mehdi and other soldiers-for-hire from Afghanistan's impoverished Shiite Muslim communities are returning home, where they are met with suspicion. Afghan security officials believe Iran is still organizing them, this time as a secret army to spread Tehran's influence amid Afghanistan's unending conflicts.

"Here in Afghanistan we are afraid. They say we are all terrorists," said Mehdi, now 21 and back in his home city of Herat. He was terrified, speaking on condition he not be fully identified for fear of retaliation. He met The Associated in a car parked in a remote, mostly Shiite neighborhood, and even there kept his face obscured with a scarf, glancing suspiciously at every passing car.

The returning veterans are threatened from multiple sides. They face arrest by security agencies that see them as traitors. They face violence from the brutal Islamic State affiliate in Afghanistan, which views Shiites as heretics and vows to kill them. Last May, IS gunmen attacked a Shiite mosque in Herat, killing 38 people.

To back Assad, Iran sent hundreds of Revolutionary Guard troops to Syria and brought in a number of allied militias. The most well-known and most powerful was Lebanon's Hezbollah.

But the largest was a force made up of Afghans, known as the Fatimiyoun Brigade, which experts have estimated numbered up to 15,000 fighters at any one time. Over the years, several tens of thousands of Afghans trained and fought in it, most from the ethnic Hazara minority, who are among Afghanistan's poorest.

Roughly 10,000 veterans of the brigade have returned to Afghanistan, says a senior official in Afghanistan's Interior Ministry, who spoke on condition of anonymity.

The Afghan government and many experts believe Iran could mobilize these ex-fighters once more, especially if the country's many armed factions turn on each other in escalated warfare after U.S. and NATO troops withdraw. Iran could use the chaos to deploy the brigade, with the very real pretext that the vulnerable Shiite minority needs a defender.

"Expect the Iranians to reconstitute their militias inside Afghanistan at some point," said Bill Roggio, editor of the Long War Journal, a site devoted to coverage of the U.S. war on terror. "Iran does not discard assets in which it invests time, treasure, and expertise."

Like most of those who joined the Fatimiyoun Brigade, Mehdi was driven by poverty, not ideology or loyalty to Iran.

Too poor to afford books for school, Mehdi had just turned 17 when he left Afghanistan in 2015. He went to Iran and worked in Tehran for months, saving money for the next leg of the trip to Europe. But Europe's borders closed, and Mehdi was stranded in Tehran.

An Afghan friend suggested they enlist for Syria. As a fighter for Iran, they could earn the equivalent of $900 a month. At the time Mehdi was making barely $150 a month.

"I thought about it and I made my heart strong, like a raging river," Mehdi said. "I decided, 'Live or die, I'll go'."

He and other Afghans underwent 27 days of training under the Revolutionary Guard at a base in Iran's southern Yazd province. Afterward, Mehdi was flown to Damascus with around 1,600 other new recruits.

In Damascus, the recruits opened bank accounts where their salaries would be deposited. They went to the shrine of Sayeda Zeinab, a site outside Damascus revered by Shiites, for final blessings before battle. The next day, they were taken by bus to the northern city of Aleppo and sent immediately to the front.

Mehdi was thrown into one of the fiercest battles of the war — a 2016 campaign against Islamic militant factions for control of the town of Khan Toman and nearby villages on Aleppo's edge.

It was a fight that showed the international nature of the war. Among the militants were Syrians, Iraqis, Chechens, Turkmens, Uzbeks and other foreign jihadis; on the other side were Syrian and Iranian troops, Lebanese Hezbollah fighters, Iraqi Shiites and Afghans, backed by Russian warplanes — all battling for a piece of Syrian land. The fighting went on for months, killing and wounding hundreds on both sides.

"Often in the morning I saw seven, eight dead bodies." Mehdi said. He said in one battle, 800 Afghans were sent to the front line and all but 200 were either killed or wounded.

Mehdi returned to Afghanistan a year ago. He remains dirt poor, and unable to find a job. He spoke bitterly of his lack of options. He noted that the Fatimiyoun Brigade remains in Syria, and some Afghan veterans stayed there after their service to work.

"I don't know what my future brings," he said. "Maybe I become a thief — or maybe I go back to Syria."

____

Associated Press writer Amir Shah in Kabul, Afghanistan contributed to this report.

In this Tuesday, Feb. 26, 2019 photo, Abdullah, a former Afghan fighter in Syria with the Fatimiyoun Brigade, wears a mask to hid his identity during an interview with The Associated Press in Kabul, Afghanistan. Security officials worry that Iranian-backed Afghan veterans of the war in Syria will one day become a secret army for Tehran in Afghanistan itself, particularly after a U.S. withdrawal. Iran paid, trained and armed thousands of Afghan Shiites to fight in Syria to defend its ally, President Bashar Assad. (AP Photo/Rahmat Gul)
In this Feb. 26, 2019 photo, Abdullah, a former Afghan fighter in Syria with the Fatimiyoun Brigade, wears a mask to hid his identity during an interview with The Associated Press in Kabul, Afghanistan. Security officials worry that Iranian-backed Afghan veterans of the war in Syria will one day become a secret army for Tehran in Afghanistan itself, particularly after a U.S. withdrawal. Iran paid, trained and armed thousands of Afghan Shiites to fight in Syria to defend its ally, President Bashar Assad. (AP Photo/Rahmat Gul)
In this Feb. 17, 2019 photo, a village elder speaks during an interview with The Associated Press, in Kabul, Afghanistan. Security officials worry that Iranian-backed Afghan veterans of the war in Syria will one day become a secret army for Tehran in Afghanistan itself. Just knowing people who fought in Syria can land someone in jail, said the elder. He spoke on condition of anonymity for that reason. Eight men from his village were killed fighting in Syria, but there are no graves for them here. All were buried in Iran, he said. (AP Photo/Rahmat Gul)
In this Feb. 20, 2019 photo, an Afghan boy walks past the Jawadia Shiite mosque that was targeted by by Islamic State gunmen last May, killing 38 people, in Herat, western Afghanistan. Afghan veterans returning from Syria are threatened from multiple sides. They face arrest by security agencies that view them as traitors. And they face violence from the brutal IS in Afghanistan, which views Shiites as heretics and vows to kill them. (AP Photo/Rahmat Gul)
In This Wednesday, Feb. 20, 2019, photo, Afghans return to Afghanistan at the Islam Qala border with Iran, in the western Herat Province. Security officials worry that Iranian-backed Afghan veterans of the war in Syria will one day become a secret army for Tehran in Afghanistan itself, particularly after a U.S. withdrawal. Iran paid, trained and armed thousands of Afghan Shiites to fight in Syria to defend its ally, President Bashar Assad. Returning home as Syria’s war winds down, they face suspicion and fear. (AP Photo/Rahmat Gul)
In this Feb. 20, 2019 photo, Afghans return to Afghanistan at the Islam Qala border with Iran, in the western Herat Province. Security officials worry that Iranian-backed Afghan veterans of the war in Syria will one day become a secret army for Tehran in Afghanistan itself, particularly after a U.S. withdrawal. Iran paid, trained and armed thousands of Afghan Shiites to fight in Syria to defend its ally, President Bashar Assad. Returning home as Syria’s war winds down, they face suspicion and fear. (AP Photo/Rahmat Gul)
In This Feb. 21, 2019 photo, Reza Kasimi, a researcher with the independent Kabul-based research group, Afghanistan Analysts Network, speaks during an interview with The Associated Press, at his office in Herat, Afghanistan. Security officials worry that Iranian-backed Afghan veterans of the war in Syria will one day become a secret army for Tehran in Afghanistan itself, particularly after a U.S. withdrawal. Iran paid, trained and armed thousands of Afghan Shiites to fight in Syria. Most of those who joined the Fatimiyoun Brigade were driven by hopelessness and poverty, not loyalty to Iran, said Kasimi. (AP Photo/Rahmat Gul)