(CNN) —
Taliban and ISIS forces launched a joint attack on a village in northern Afghanistan, killing 50 people including women and children, local officials claimed.
The village, in the Mirzawalang area of Sar-e-Pul province, came under attack by militants from the two groups, Mohammad Noor Rahmani, the head of Sar-e-Pul provincial council said.
Zabiullah Amani, a provincial spokesman, said that the joint force attacked the area Thursday afternoon and had secured the area in 48 hours. He said 10 militants were killed in the attack, and a further 12 injured.
They beheaded some of the 50 victims, and shot others, he said.
PHOTO:
NOORULLAH SHIRZADA/AFP/AFP/Getty Images
Alleged Taliban fighters and other militants stand handcuffed while being presented to the media at a police headquarters in Jalalabad on March 6, 2018.
Afghan police said over 17 alleged Taliban militants including two Pakistani nationals were arrested during a five-week operation in Nangarhar province. / AFP PHOTO / NOORULLAH SHIRZADA (Photo credit should read NOORULLAH SHIRZADA/AFP/Getty Images)
Now playing
The Taliban: How it began, and what it wants
PHOTO:
From Youtube
Screengrab from video published on Youtube by Taliban media on Dec 19, 2016, showing American hostage Caitlan Coleman and her husband Canadian Joshua Boyle with their two children.
Now playing
Freed Taliban hostage facing charges in Canada
PHOTO:
SHAH MARAI/AFP/AFP/Getty Images
An Afghan security force member stands at the site of a car bomb attack in Kabul on May 31, 2017.
At least 40 people were killed or wounded on May 31 as a massive blast ripped through Kabul's diplomatic quarter, shattering the morning rush hour and bringing carnage to the streets of the Afghan capital. / AFP PHOTO / SHAH MARAI (Photo credit should read SHAH MARAI/AFP/Getty Images)
Now playing
What is going on in Afghanistan?
PHOTO:
Massoud Hossaini/AP
A wounded man is assisted at the site of an explosion in downtown Kabul, Afghanistan, Saturday, Jan. 27, 2018. The Interior Ministry says a suicide car bomb attack in Kabul has left dozens wounded. (AP Photo/Massoud Hossaini)
Now playing
Ambulance packed with explosives kills dozens
PHOTO:
Rahmat Gul/AP
Smokes rises from the Intercontinental Hotel after an attack in Kabul, Afghanistan, Sunday, Jan. 21, 2018. Gunmen stormed the hotel in the Afghan capital on Saturday evening, triggering a shootout with security forces, officials said. (AP Photo/Rahmat Gul)
Now playing
Taliban claim responsibility for hotel attack
canadian family freed parents speak paula newton _00011721.jpg
Now playing
Parents of freed Canadian hostages speak
Trump: Rescue a sign world respects US again
PHOTO:
CNN
taliban releases couple
Now playing
Taliban releases video of abducted family (2016)
paton walsh who are the taliban orig_00005127.jpg
Now playing
Who are the Taliban in 2016?
PHOTO:
Reuters
kunduz taliban launch attack watson_00010507.jpg
Now playing
Afghan forces battle Taliban for control of Kunduz
PHOTO:
RADIO FREE EUROPE/RADIO LIBERTY/AFP/Getty Images
Afghan men stone a woman in a hole to death in Ghalmeen, Afghanistan.
Now playing
Woman stoned for adultery
First female Afghan AF pilot seeks asylum
PHOTO:
Wole Emmanuel/AFP/Getty Images
Caption:Pakistani education activist Malala Yousafzai gives a press conference on July 14, 2014 after meeting with the Nigerian president in Abuja. Malala on July 14 urged Nigerian President Goodluck Jonathan to meet with parents of the schoolgirls kidnapped three months ago by Boko Haram. Malala, who survived a Taliban assassination attempt in 2012 and has become a champion for access to schooling, was in Abuja on her 17th birthday to mark the somber anniversary of Boko Haram's April 14 abduction of 276 girls from a secondary school in the northeast Nigerian city of Chibok. AFP PHOTO / WOLE EMMANUEL (Photo credit should read WOLE EMMANUEL/AFP/Getty Images)
Now playing
Pakistan sentences 10 for Malala attack
afghan tv station threatened by taliban walsh pkg_00004921.jpg
Now playing
Afhanistan's TOLO TV defies the Taliban
PHOTO:
STR/AFP/AFP/Getty Images
A burnt-out police pick-up truck stands in the street after Afghan security forces retook control of Kunduz city from the Taliban militants in northeastern Kunduz province, on October 1, 2015. Afghan forces retook control of the strategic northern city of Kunduz on October 1 after a three-day Taliban occupation that dealt a stinging blow to the country's NATO-trained military. AFP PHOTO (Photo credit should read STR/AFP/Getty Images)
Now playing
The state of the Taliban in Afghanistan
A Taliban spokesman denied that the two groups had joined forces.
“it is completely wrong, it is propaganda of our enemy, ISIS is our enemy, there is no ISIS in Sar-e-Pul. Our commander in Sar-e-Pul is called Ghazanfar, who is not an ISIS,” Zabiullah Mojahid, a Taliban spokesman, told CNN.
Another Taliban representative, Qari Yousuf Ahmadi, denied killing the civilians, also saying it was “propaganda” from the group’s enemies.
In the statement he said “only 28 local militia were killed”, adding that their bodies were given to local elders.
Najib Danish, a spokesman for the Afghan Ministry of the Interior, said that the government is planning an operation to retake the area from militants.