Deputy Superintendent of Police (DSP) of CTD Noor Muhammad was assassinated by unknown militants as he came out of a mosque in Dera Ismail Khan city of KP province after his evening prayers, police officials said.
The killers managed to flee from the scene after the murder, they said.
Separately, a police constable was killed and six civilians injured after a bomb planted in a car exploded in Peshawar district before Iftar time.
The injured were rushed to Lady Reading Hospital.
Noone has claimed responsibility for the attack and an investigation is under way to determine the nature of the blast, police said.