Half-cooked, rotting food on bunk beds, discarded military uniforms and abandoned weapons: these are the remains of the sudden withdrawal from a base that once belonged to Iran and its affiliated groups in Syria.

The scene tells a story of panic.

The forces stationed here fled without warning, leaving behind a presence that had lasted a decade and collapsed within a few weeks.

For more than ten years, Iran was the most important ally of Syrian President Bashar al-Assad. It deployed military advisers, mobilised foreign militias, and invested heavily in the Syrian war.

Elite units of the Islamic Revolutionary Guard Corps built deep networks of underground bases, supplying and training thousands of fighters.

For Iran, this was also part of its "security belt" against Israel.

Before the fall of the Assad regime on 8 December, the town of Khan Sheikhoun in Idlib Governorate was one of the key strategic sites for the Iranian Revolutionary Guard and its allied groups.

From the main road, the entrance is barely visible, hidden behind piles of sand and rocks. Overlooking the base is a watchtower on a hilltop, still painted in the colours of the Iranian flag.

A receipt book confirms the name of the base: the Martyr Zahedi Site, named after Mohammad Reza Zahedi, a senior commander in the Islamic Revolutionary Guard Corps who was killed in an alleged Israeli air strike on the Iranian consulate in Syria on 1 April 2024.

Supplies recently ordered — we found receipts for the purchase of chocolate, rice and cooking oil — indicate that daily life continued here until the last moments.

The base now has new occupants: two armed Uyghur fighters from Hay'at Tahrir al-Sham, the armed Islamist group whose leader, Ahmed al-Sharaa, has become Syria's new interim president.

The Uyghurs arrived suddenly in a military vehicle and asked for our media accreditation.

One of them, speaking in his mother tongue, a Turkic dialect, says: "The Iranians were here. They all fled. Everything you see here is theirs. Even this onion and the leftover food."

Crates full of fresh onions in the courtyard have begun to sprout.

The base is a maze of tunnels dug deep into white rocky hills.

Some rooms without windows contain bunk beds.

The ceiling of one corridor is covered with fabric in the colours of the Iranian flag, and a few Persian-language books sit on a rock shelf.

They left behind documents containing sensitive information, all in Persian, detailing the personal information of fighters, military codes, their home addresses, the names of their spouses, and their mobile phone numbers in Iran.

From the names, it is clear that many of the fighters at this base were from the Afghan brigade that Iran formed to fight in Syria.

Sources linked to Iranian-backed groups told BBC Persian that the base primarily housed Afghan forces accompanied by Iranian "military advisers" and their Iranian commanders.

The main justification Tehran gave for its military intervention in Syria was "fighting jihadist groups" and protecting "Shiite holy shrines" against extremist Sunni militants.

Paramilitary groups were formed, composed mainly of Afghan, Pakistani and Iraqi fighters.

But when the final moment came, Iran was not ready.

Withdrawal orders reached some bases at the last minute. A senior member of an Iranian-backed Iraqi paramilitary group tells me: "Developments happened very quickly. It came down to grabbing your bag and leaving."

Multiple sources close to the Iranian Revolutionary Guard told BBC that most forces were forced to flee to Iraq, while some were ordered to head to Lebanon or Russian bases to be evacuated from Syria by the Russians.

One Hay'at Tahrir al-Sham fighter, Mohammad al-Rabat, witnessed the group's advance from Idlib to Aleppo and to the Syrian capital, Damascus.

He says they thought their operation would take "about a year" and that they would "take Aleppo within three to six months." Instead, they were surprised to enter Aleppo within days.

The rapid fall of the regime was the result of a chain of events that followed the attack carried out by Hamas on Israel on 7 October.

That attack led to escalating Israeli air strikes against the Iranian Revolutionary Guard and Iranian-backed groups in Syria, and a war against another key Iranian ally, the Lebanese Hezbollah, whose leader was killed in an air strike.

Rabat, 35, says that the "state of psychological collapse" experienced by Iran and Hezbollah was a fundamental cause of their downfall.

But the most important blow came from within: there was a rift between Assad and his Iran-linked allies, he says.

"There was a complete collapse of trust and military cooperation between them. The groups linked to the Iranian Revolutionary Guard blamed Assad for betrayal and believed he was handing their positions over to Israel."

Passing through Khan Sheikhoun, we come across a street painted in the colours of the Iranian flag, leading to a school building that was used as the main headquarters of the Iranian forces.

On the wall at the entrance to the toilets, someone had written: "Death to Israel" and "Death to the United States."

It was clear that these headquarters had also been evacuated in a short time. We found documents classified as "highly sensitive."

Abdullah, 65, and his family are among the very few local residents who stayed and lived here alongside the groups led by the Iranian Revolutionary Guard. He says life was difficult.

His house is a few metres from the main headquarters, and between them lie deep trenches surrounded by barbed wire.

"Movement was banned at night," he says.

Abdullah says the presence of Iranian-backed groups in the neighbourhood made life difficult.

His neighbour's house was turned into a military barracks. He recalls: "They sat there with their rifles pointed at the road, and they treated all of us as suspects."

He says most of the fighters did not speak Arabic. "They were Afghans, Iranians and from Hezbollah. But we referred to all of them as Iranians because Iran controlled them."

Abdullah's wife, Jourieh, says she is glad the "Iranian militias" have left, but still remembers the "exhausting" moment before their withdrawal. She thought they would be caught in crossfire while the Iranian-backed groups reinforced their positions and prepared to fight, but they "disappeared within a few hours."

"This was an occupation. An Iranian occupation," says Abdo, who returned here with his family after ten years, like other residents. His house, too, was turned into a military base.

I have noted this anger towards Iran and the softer attitude towards Russia in many conversations with Syrians. I asked Rabat, the Hay'at Tahrir al-Sham fighter, why this is.

He explained: "The Russians dropped bombs from the sky, and otherwise stayed in their bases, whereas the Iranians and their militias were on the ground, interacting. People felt their presence, and many were unhappy about it."

This sentiment is reflected in the policy of Syria's new rulers towards Iran.

The new authorities have banned the entry of Iranians, as well as Israelis, into Syria. But there is no similar ban on Russians.

The Iranian embassy, which was stormed by angry protesters after the fall of the regime, remains closed.

Iranian officials' reactions to developments in Syria have been contradictory.

While Supreme Leader Ali Khamenei called on "Syrian youth" to "resist" those who "brought instability" to Syria, Iran's Foreign Ministry took a more balanced view.

It said the country "supports any government supported by the Syrian people."

In one of his first interviews, the new Syrian leader al-Sharaa described their victory over Assad as the "end of the Iranian project." But he did not rule out establishing a "balanced" relationship with Tehran.

For now, however, Iran is not welcome in Syria. After years of expanding its military presence, everything Tehran built now lies in ruins, both on the battlefield and in the eyes of a large segment of the Syrian public.

At the abandoned base, Iranian military expansion was still under way even in the final days. Next to the camp, more tunnels were under construction, which appear to have been the beginnings of a field hospital. The cement on the walls was still wet and the paint was fresh.

Now, however, it has left behind evidence of a brief battle: a few spent bullet casings and a bloodstained military uniform.

BBC