After a months-long offensive by the U.S.-backed Syrian Democratic Forces, ISIS militants have been pushed out of their northern stronghold on the Turkish border, allowing thousands of residents to return to their homes.

Thousands of displaced residents streamed back into the northern Syrian town of Manbij on Saturday after U.S.-backed fighters ousted the last so-called Islamic State (ISIS) militants from their former stronghold, residents and U.S. allies said.

The U.S.-backed Syrian Democratic Forces (SDF) announced on Friday they had seized full control of the city near the Turkish border after the departure of the last of the militants, who had been using civilians as human shields.

Hundreds of cars and vehicles carrying families and their belongings flocked into the city from makeshift camps and villages in the countryside, where many of the city’s residents took shelter during the two-month campaign, according to an SDF official and relatives who were in contact with residents.

“Thousands are coming back and shops are opening. Today is the first day life is returning to normal,” Sharfan Darwish, a spokesman for the SDF-allied Manbij Military Council told Reuters from the city, adding they were working to restore basic services.

The capture of Manbij is the biggest defeat for the militant group in Syria since July 2015, when they lost the town of Tal Abyad on the border with Turkey, the New York Times said. The capture of Tal Abyad deprived the militant group of a direct route to bring in new foreign militants or supplies.

Manbij is important because it lies on a key supply route between the Turkish border and the city of Raqqa, the de facto capital of the Islamic State group’s self-styled caliphate, the New York Times reported.

Pro-SDF news sites showed jubilant families who had been trapped in the city during the fighting talking about how harsh life was under ISIS and its imposition of strict dress codes in public.

Their footage showed men shaving their beards and veiled women setting fire to niqabs they were forced to wear in public that covered their entire face apart from the eyes.

The militants were finally ousted after a deal was reached on Friday that secured their departure toward their stronghold of Jarablus near the border with Turkey, a Syrian from Manbij who is in touch with relatives there said.

The SDF, formed last year by recruiting Arabs to join forces with the powerful Kurdish People’s Protection Units (YPG) militia, launched an offensive with the support of U.S.-led strikes at the end of May to remove ISIS from areas it controls along the Turkish border.

Blow to Militants

The loss of Manbij, occupied by ISIS since early 2014, is a big blow to the militants as it is of strategic importance, serving as a conduit for the transit of foreign militants and provisions from the Turkish border.

The operation, in which U.S. special forces played a significant role on the ground, marks the most ambitious advance by a group allied to Washington in Syria since the U.S. launched its military campaign against ISIS two years ago.

Darwish attributed the speedy return to life in the city to a military and aerial campaign that he said spared many neighborhoods where thousands of civilians had remained even at the height of fighting.

Despite intensive U.S. bombing of bridges, several hospitals and a large silo in the course of the campaign, the city appears to have been spared the devastation of other cities in the Syrian conflict.

The SDF, which had already cleared more than 13,000 mines, was sweeping some neighborhoods in search of militant sleeper cells suspected to still be operating.

A former resident of the city said he had reports from family members that the Kurdish YPG, who are the dominant group within the SDF, had rounded up dozens of young men before screening them because of concerns that some of them belonged to sleeper cells.

The capture of Manbij bolsters the position of Kurds who already control an uninterrupted 250-mile (400km) stretch of Syria’s northern border with Turkey.

Washington has long lacked capable proxies on the ground, but has found its first strong allies in SDF.

Their gains have alarmed rebel forces battling President Bashar al-Assad, who say they will respond with force to any attempt to break up Syria.

This article was originally published by Middle East Eye and is reprinted here with permission.

The views expressed in this article belong to the author and do not necessarily reflect the editorial policy of Syria Deeply.