KABUL, Afghanistan (AP) — At least 40 civilians at a wedding party were killed Sunday night during a raid conducted by Afghan special forces and supported by U.S. airstrikes on Taliban hideouts in the southern Helmand province, Afghan officials said.

The violence has further rattled Afghanistan which is facing an upsurge in violence after U.S.-Taliban peace talks to end America's longest war collapsed earlier this month.

Abdul Majed Akhund, deputy provincial councilman, said that the majority of the dead are women and children who were at a wedding ceremony that was taking place in Musa Qala district.

Akhund said that 12 other civilians were wounded and are in the hospital in Lashkar Gah the capital of the province.

There were conflicting reports on the numbers of killed and wounded from different sources as the area is under Taliban control.

Attahullah Afghan, head of the provincial council, said there were two separate raids in different areas of Musa Qala. The first operation killed six foreign fighters, while the second raid "mistakenly" hit civilians, he said.

Akhund said authorities are investigating reports civilians attending a wedding died in the raid Sunday night in Musa Qala.

Afghanistan's defense ministry in a statement said that as a result of the operations in Musa Qala district, 22 foreign members of the Taliban were killed and 14 arrested. The arrested terrorists include five Pakistani nationals and one Bangladeshi.

"The foreign terrorist group was actively engaged in organizing terrorist attacks," said the statement and added that a large warehouse of the terrorists' supplies and equipment was also destroyed.

Omar Zwak, the provincial governor's spokesman, said 14 insurgents including six foreigners were killed during the raid. They were investigating reports of civilian casualties.

The deadly strike came after a drone attack last week in eastern Afghanistan's Nangarhar province blamed on U.S. forces killed at least 16 and wounded tens of others, most of them civilians. U.S. forces said that attack was targeting Islamic State militants.