KABUL, Afghanistan (AP) -- Taliban insurgents on Wednesday killed 26 Afghan civilians after abducting them in the remote central province of Ghor the previous day, officials said, the latest brutal attack targeting the local population in one of the country's most lawless areas.
The slain civilians were from a group of 33 taken by the militants near the provincial capital of Ferozkoh, according to Ziauddin Saqib, the deputy provincial police chief. Earlier reports suggested 20 were killed but the death toll rose later in the day.
The abductions took place while battles were underway between the Taliban and Afghan security forces on Tuesday that saw two militant commanders killed, Saqib added.
Both commanders were infamous figures in Ghor and were involved in many anti-government activities, Saqib also said, adding that the "cowardly insurgents killed innocent civilians in revenge for their commanders killed by security forces."
There was no immediate statement from the Taliban on the incident in the largely lawless Ghor.
However, Abdul Hai Khateby, the spokesman for the provincial governor, said he is convinced the militants behind the attacks and abductions were a renegade Taliban group that had sworn allegiance last year to Afghanistan's Islamic State affiliate.
"The group is former Taliban who just a year ago announced their support to their Islamic State group and changed their white flag to black," Khateby told The Associated Press, speaking over the telephone from Ghor.
The two different statements could not immediately be reconciled. Khateby also said he believed the abductions and killings were in revenge for the deaths of the two commanders.
The civilians who were abducted are all poor people from the area, mainly villagers and shepherds, and there were even children among those taken, said Khateby.
He said that the victims' families and relatives, along with other residents of Ghor, held a protest rally near the governor's office in Ferozkoh, the provincial capital, later on Wednesday.
The demonstrators denounced the government, which they said cannot protect the local population.
"The locals were so angry and they were throwing stones toward the governor's building," he said. No one was hurt in the protest, which later ended with the help of tribal leaders who mediated between the crowd and the authorities.
Afghan President Ashraf Ghani's office strongly condemned the attack in Ghor, saying that "once again, the enemies of the Afghan people carried out another attack on civilians and killed innocent people."
Amnesty International denounced the Ghor killings as a "horrendous crime." The watchdog quoted Champa Patel, Amnesty's South Asia director, as saying "there can be no justification whatsoever for targeting and killing civilians under any circumstances."
"The victims and their families deserve justice," Amnesty added, urging Kabul to bring the perpetrators to justice.
Ghor is one of Afghanistan's poorest and least developed provinces, with many areas outside Ferozkoh believed to be under Taliban control.
In a report from eastern Paktika province, 17 people, including two children, were wounded when a bomb went off on Wednesday at a marketplace in the provincial capital of Sharan, according to local officials.
Dr. Wali Gul Kharoti, head of the public health department, said there were also two military personals among the wounded. He said all of the wounded were ins table condition.
Abdul Raouf Massoud, deputy police chief in Paktika, said the explosive was "placed inside a shop at the city market" in an attack obviously meant to target civilians. No one immediately claimed responsibility for the attack.
The Taliban have in recent months stepped up attacks across Afghanistan, taking advantage of the warm weather to wage war against the Kabul government. Many civilians have been caught in the cross-fire and also targeted by roadside bombs, which are among the insurgents' weapons of choice.
Recently, the Taliban have attacked Afghan security forces in northern Kunduz province, briefly taking control of a district headquarters. The militants have also overrun a district in northern Baghlan province and in eastern Paktia province.
Meanwhile, in eastern Nangarhar province, Taliban militants have fought pitched battles with security forces. Afghanistan's Ministry of Defense says its forces are waging operations in 15 provinces.
In July, Kabul was shaken by a massive suicide bombing that struck a peaceful rally by Afghanistan's minority ethnic Hazara community, killing more than 80 people and wounding hundreds. That attack was claimed by the Islamic State group, which emerged last year in Afghanistan as an affiliate of the militant group fighting in Iraq and Syria. Analysts believe the Islamic State affiliate in the country is mostly made up of disenfranchised Taliban fighters.
The Hazara attack was the IS Afghan branch's first assault in the country's capital and the deadliest attack in Kabul since the U.S.-led invasion to oust the Taliban regime in 2001.