At least 16 people, including five police personnel, were killed in northwest Pakistan on Friday when an explosives-laden car rammed into a police facility on Friday.
The incident occurred in Khyber Pakhtunkhwa province's Kohat city, with the vehicle smashing into the outer wall and gunmen who accompanied it opening fire, provincial police chief Zulfikar Hameed said.
There was no immediate claim of responsibility.
The blast occurred close to a mosque where the police personnel, their family members, and other civilians were offering Friday prayers, a police statement said.
All seven attackers were killed in the explosion and the gun battle that followed, the statement added.
The interior ministry said the "cowardly actions" of the attackers could not weaken the "nation's firm resolve".
Militancy in Pakistan's border areas has risen sharply in recent months, targeting mainly the military and police.
Islamabad says the militants use safe havens in Afghanistan to train and plan attacks in Pakistan. Afghanistan's Taliban government has denied the charge and said militancy is Pakistan's domestic problem.
Tehreek-e-Taliban Pakistan issued a statement disowning Friday's attack.

Five Turkish soldiers killed in helicopter crash
Hostages held in Colombia supermarket after failed carjacking
11 injured in Houthi attack on Riyadh financial district tower
Explosion kills 6, injures 10 in Vietnam capital Hanoi
Pakistani pilot to become first foreigner to fly to China's space station
Sheikh Hasina seeks to return to Bangladesh on December 16 on state carrier
Israeli airstrikes kill at least six Palestinians in Gaza, medics say
Israeli airstrike kills at least 3 Palestinians in southern Gaza, medics say
