According to a police statement, the two officers on duty tried to resist the attack, leading to a gun duel.