Updated

An Afghan official says that at least two people including a district police chief were gunned down when militants opened fire on a crowd gathered at a funeral in eastern Nangarhar province.

Noor Ahmad Habibi, deputy spokesman for the provincial governor in Nangarhar, says that four other civilians were wounded in the attack late Wednesday afternoon.

Matiullah Safi, district police chief for Khewa district, was attending the funeral of a soldier when he was shot and killed by unknown gunmen, added Habibi.

No one has claimed responsibility for the attack, but both Taliban insurgents and Islamic State group affiliates are active in eastern Afghanistan and have claimed previous attacks in Nangarhar province.