Another officer said one of the attackers was killed in a shootout with security forces, while others were injured.