Mohammad Reza Ghafori, spokesman for the Zawzjan provincial governor, said today that the police officers were ambushed yesterday as they were coming out of a mosque.
The wife of the police commander heard about her husband being shot and rushed to the scene, where she was also killed.
IS-linked militants have been active in Afghanistan's eastern regions, but have recently begun operating in the north of the country as well.