Most of those killed were civilians who had gathered to return home to Al-Bab.

Two attacks near a Syrian town just captured by Turkish forces and Syrian opposition fighters from the Islamic State (IS) group killed at least 60 people, mostly civilians, and two Turkish soldiers on Friday, as the group retreats from one of its last remaining strongholds in northern Syria, Turkey’s news agency and Syrian activists said.

A suicide car bomb went off on Friday outside a security office operated by Syrian opposition north of Al-Bab, killing 60 people, mostly civilians who had gathered to return home to the town liberated from the IS only a day earlier. At least six fighters were among those killed in the attack, according to Turkey’s Prime Minister Binali Yildrim, who spoke in Ankara.

According to Mohammed al-Tawil, a leading Syrian opposition fighter north of al-Bab, a suicide attacker blew up his small pick-up truck outside a security office in Sousian village, about 8 kilometers (5 miles) north of Al-Bab. He said the explosion went off as the opposition fighters were organizing the return of civilians from al-Bab who had been displaced by the fighting for their town.

Much awaited moment

“These people have suffered a lot,” Mr. Al-Tawil told The Associated Press in a telephone interview from Sousian. “They have been waiting for this moment” to return home.

Mr. Al-Tawil, a member of the opposition Al-Bab military council, said about four fighters manning the checkpoint were killed in the attack. The fighter, who was at the security office at the time of the explosion, said the rest of the casualties were civilians from Al-Bab.

Al-Bab, which had been controlled by the IS since late 2013, was captured on Thursday, after more than two months of intense fighting led by Turkish troops supporting Syrian opposition fighters.

Group controls parts of it

IS militants, who withdrew from the town, still control areas around it. The Sousian security office was supervising the issuing of permits and providing escorts for civilians wishing to return to Al-Bab. Mr. Al-Tawil said at least two groups of about 150 civilians had already left early on Friday for Al-Bab, accompanied by a mine sweeping unit run by Syrian opposition fighters.

The deaths Friday bring to 70 the total number of Turkish soldiers killed in Syria since August.

The Observatory’s head Rami Abdurrahman said Turkish artillery have been intensely shelling IS-controlled Tadif Friday.

Turkey’s Anadolu news agency said at least 41 of those wounded in the attack in Sousian were taken to the Turkish border town of Kilis, where they are being treated in a state hospital. Some of the wounded were in serious condition, the agency said.