BEIRUT (AP) — The U.S.-led coalition battling the Islamic State group said on Wednesday that it won’t accept a negotiated withdrawal for hundreds of IS militants holed up in the Syrian city of Raqqa, once the extremists’ de facto capital.

The remarks by coalition spokesman, Col. Ryan Dillon, came as coalition allies were working out ways to safely evacuate an estimated 4,000 civilians who remain trapped in the city.

The coalition has said IS militants are holding some civilians as human shields, preventing them from escaping as the fight enters its final stages for the last remaining slice of Raqqa in militant hands. The city, on the banks of the Euphrates River, has been badly damaged by the fighting, and activists have reported that over 1,000 civilians have been killed there since June.

The United Nations estimates 8,000 people are trapped in Raqqa, and has called on all parties to the conflict to take all measures to protect civilians. The U.N. said September was the worst month in 2017 for civilians in Syria.

Dillon said the Raqqa Civil Council, a local administration of Arab and Kurdish officials, was leading the discussions to ensure safe evacuation of civilians as the fight for Raqqa enters its final stages. However, it was not clear with whom the council is speaking inside Raqqa. A Kurdish-led force, the Syrian Democratic Forces, is leading the U.S.-backed battles on the ground.

“We are seeing some good progress of civilians that are being able to safely exit Raqqa. The trend has turned into … a broader effort by the Raqqa Civil Council to get the remaining civilians out of there,” Dillon told The Associated Press. He said at least 700 civilians have been evacuated from the city since Monday.

But Dillon added that discussions about the fate of the militants remaining in the city have focused on “unconditional surrender.”

A negotiated withdrawal “is absolutely something that we as a coalition would not be a part of or agree with,” Dillon added. Between 300 and 400 militants are believed holed up in about 4 square kilometers (1.5 square miles) of Raqqa, including in the city’s stadium and a hospital, he said.

The stadium is believed to be used by the militants as weapons warehouse and a prison while the hospital is one of their major headquarters.

Dillon said that in the last three weeks, up to 15 militants, including a senior leader, have surrendered in Raqqa, a trend also spotted in Iraq as the extremist group’s power wanes in both countries. Dillon said at least another leading figure was arrested among civilians, trying to escape.

The battle for Raqqa began in June but after a swift start, stiff resistance by IS slowed down the advance by the Kurdish-led fighters.

Meanwhile, airstrikes on the city appeared to have decreased, apparently to allow for the evacuations and the talks. The coalition reported five airstrikes near Raqqa on Tuesday.