BEIRUT (AP) — A Syrian Kurdish militia says it’s pulling out of the key northern Syrian town, potentially easing a serious rift between the United States and Turkey.

The People’s Protection Units, known by their Kurdish acronym YPG, said in a statement on Tuesday that its advisers had completed their mission to train the local forces, the Manbij Military Council, to defend the town of Manbij.

The development follows an announcement Monday from Turkey, saying it had reached an agreement with the U.S. over the future of the town.

Both the YPG and the Manbij Military Council are backed by the U.S., straining Washington-Ankara relations.

Ankara considers the YPG a terror group tied to a Kurdish insurgency within Turkey and has demanded the Kurdish fighters leave Manbij for over a year.

___

— An international human rights group on Tuesday accused the U.S. and its allies of showing little regard for civilians’ lives while attacking the Syrian city that was once the de-facto capital of the Islamic State extremist group, an allegation denied by the American military.

Amnesty International said the U.S.-led coalition’s 2017 assault on Raqqa killed hundreds of civilians and reduced sections of the city to rubble.

Researchers for Amnesty interviewed more than 100 residents and visited 42 coalition targets in the city in a two-week period in February. They published their findings in a report titled “War of Annihilation,” in a reference to the language used by U.S. Defense Secretary Jim Mattis in the lead-up to the campaign.

“When so many civilians are killed in attack after attack, something is clearly wrong,” said Donatella Rovera, one of the researchers who visited the city.

U.S. Army Col. Sean Ryan, spokesman for the coalition, called the assertions “grossly inaccurate.” He said the coalition and allied Syrian forces organized safe passages for residents to flee, but IS militants trapped them inside to use as human shields.

“When you have an enemy that uses noncombatants as collateral damage, it’s very difficult when you fight an enemy like that to completely avoid any casualties,” Ryan said.

Benjamin Walsby, another investigator on the Amnesty team, said the coalition should have adjusted its strategy accordingly.

“If you rely on long-range tactics like artillery and airstrikes, then civilians are very likely to pay the price, and that appears to be what happened in Raqqa,” he said.

The battle for Raqqa, once a city of 200,000 people, played out over four harrowing months in 2017, with the coalition playing a supporting role as the Kurdish-led Syrian Democratic Forces fought street by street.

The coalition unleashed wave after wave of airstrikes and shell fire until the last of the militants left Raqqa in October 2017.

Command Sgt. John Wayne Troxell of the U.S. Army said in January that U.S. Marines had fired 30,000 artillery shells on the city.

When The Associated Press visited in April, it found Raqqa in ruins and its streets smelling of rotting bodies. Civil workers had pulled nearly 500 corpses from the rubble and were still finding more six months after the fighting.

Residents complained that the coalition bombing was indiscriminate and demanded compensation. According to the Raqqa Civil Council, which took over the administration of the city, 65 percent of homes had been destroyed.

IS militants booby-trapped the city, leaving streets and homes too dangerous for immediate reoccupation.

In its monthly casualty reports, the coalition has acknowledged responsibility for 32 civilian deaths in Raqqa between June and October, while saying it is still investigating open cases. Ryan, the coalition spokesman could not say whether officials were interviewing relatives of the deceased as part of their investigations.

Amnesty International’s report says hundreds of civilians were killed, while the Airwars monitoring group says it has evidence of 1,400 fatalities.

Amnesty investigators called on the coalition to release strike data and details on the decision-making process behind target selection. They said the coalition rebuffed requests for information.

“It doesn’t matter how precise your strikes are. They are only as precise as the information behind them, and if the information isn’t right you’re going to shoot at the wrong things,” Walsby said, adding that a thorough investigation could build a case for a war crimes trial.

Ryan said the coalition was never contacted by Amnesty.

The coalition maintains that it relied on precision weapons and selected targets with the best information available and that it did everything it could to minimize civilian casualties.

“I would put the blame on ISIS for destroying the city,” Ryan said. “We liberated the city of Raqqa. The city deserves better and we’re going to try to provide that.”