A CCTV footage of the attack shows a man firing three shot at a sub inspector of Jammu and Kashmir Police as he walks in a lane in Khanyar.
The CCTV shows the sub inspector Arshid Ahmad collapsing on the ground as the militant runs away.
The police officer was rushed to a hospital where he was declared dead on arrival.
Meanwhile, the whole area has been cordoned off to nab the attacker.
Officials said the slain police officer was from Kulmuna in Kupwara and succumbed to the injuries at SKIMS in Soura.
Medical Superintendent Farooq Jan also confirmed the death of the SI