Kabul, Afghanistan (CNN) Afghan Taliban fighters killed 17 Afghan police officers in an attack on a police base before dawn Saturday, just hours before the militant group called for a three-day ceasefire with Afghan forces over the Eid al-Fitr holiday in mid-June.

The ceasefire call followed the Afghan government's own declaration of a 10-day truce over Eid.

JUST WATCHED Ghani: 'We've not classified the body count' Replay More Videos ... MUST WATCH Ghani: 'We've not classified the body count' 01:07

Five police officers were injured in the attack on the base in the Qalai Zal district of Kunduz province, the spokesman for Kunduz chief of police, Enhamuddin Rahmani, said.

Taliban spokesman Zabiullah Mojahid claimed responsibility for the attack in a statement to media.

The separate Taliban statement ordering a halt on attacks of "internal enemies" over the Eid al-Fitr holiday said operations against "foreign invaders" should continue, with attacks against them "wherever and whenever they are seen."