KABUL -- The Afghan Taliban announced a three-day cease-fire over the Eid al-Fitr holiday at the end of the holy month of Ramadan, a first for the group, following an earlier cease-fire announcement by the government.
A statement released Saturday by the Taliban said that they would defend themselves in case of any attack. They say foreign forces are excluded from the cease-fire and Taliban operations would continue against them.
The statement added that the leadership of the Taliban may also consider releasing prisoners of war, if they promise not to return to the battlefield.
Afghan President Ashraf Ghani on Thursday announced a weeklong cease-fire with the Taliban to coincide with the holiday.
A statement sent from the president's office on Thursday said the government's cease-fire will begin on 27 Ramadan, or June 12 on the Western calendar, and last through the Eid al-Fitr holiday, until around June 19, adding the cease-fire does not include al-Qaida or the Islamic State group.
The palace statement referred to a gathering of Afghanistan's top clerics last week in which they issued a decree against suicide attacks and called for peace talks. A suicide bomber struck just outside the gathering as it was dispersing, killing at least seven people and wounding 20 in an attack claimed by the Islamic State group.
The Taliban had denounced the gathering, insisting that its jihad, or holy war, against foreign invaders was justified. It instead urged the clerics to side with it against the "occupation."
NATO has led international security efforts in Afghanistan since 2003. It wound down its combat mission in 2014 but its Resolute Support mission comprises almost 16,000 troops from around 40 countries.
The conflict has been at a stalemate for several years, and NATO's best chances of leaving lie in the Taliban agreeing to peace talks and eventually joining the government. The Trump administration has sent additional troops to try to change the course of America's longest war.
On Friday, senior U.S. officials said they will intensify combat against the Islamic State affiliate in the country during the Kabul government's temporary halt to attacks on the Taliban.
Defense Secretary Jim Mattis said this could, for example, allow the U.S. to partially shift the focus of aerial surveillance from the Taliban to IS fighters as well as al-Qaida extremists, who remain a threat 17 years after the U.S. invaded. Mattis spoke to reporters during a break in a NATO defense ministers meeting.
In the meantime, Taliban insurgents have continued to carry out attacks.
Just hours before the Taliban's announcement, at least 17 soldiers were killed when their checkpoint came under attack by Taliban fighters in western Herat province, said Gelani Farhad, spokesman for the provincial governor.
Farhad said one soldier was wounded. He added that eight insurgents were killed and more than a dozen others were wounded in the gun battle in Zewal district.
In northern Kunduz province at least 13 local policemen were killed early Saturday when their checkpoint came under an attack by Taliban fighters, said Nematullah Temori, spokesman for the provincial governor.
Temori said that seven others were wounded in Qala-e Zal district. Around 10 insurgents were also killed and nine others wounded during the battle, he said.