A car bombing at a police post in northwestern Pakistan followed by an ambush on police personnel rushing to the scene to provide backup has killed at least 12 officers, police said on Sunday.
Images after the attack on Saturday showed the structure had been reduced to rubble, with bricks, charred wreckage, and mangled vehicles scattered around the area.
Police official Sajjad Khan said in a statement that the bodies of 12 officers had been recovered from the collapsed outpost and three personnel were found alive and rushed to hospital.
A police official who asked not to be identified said militants first rammed into the post with an explosive-filled car and then entered the premises and began firing on any remaining officers.
"Other law enforcement personnel were sent to help the police, but the terrorists ambushed them and caused some casualties," he said.
Police sources said the militants also used drones in the attack.
Ambulances from rescue agencies and civil hospitals rushed to the scene, with officials saying a state of emergency had been declared in government hospitals in Bannu.
A militant alliance known as the Ittehad-ul-Mujahideen claimed responsibility for the attack.
Militant attacks have the potential to reignite fighting along Pakistan's border with Afghanistan. The worst fighting in years erupted between the allies-turned-foes in February, with Pakistani airstrikes inside Afghanistan that Islamabad said targeted militant strongholds.
Fighting has since eased, with occasional skirmishes breaking out along the border, but no official ceasefire has been brokered.
Islamabad blames Kabul for harbouring militants who use Afghan soil to plot attacks in Pakistan.
The Taliban has denied the allegations and said militancy in Pakistan is an internal problem.

Death toll rises to three with 17 still missing after Philippine building collapse
Australian activists return after Gaza flotilla incident, allege Israeli abuse
Trump says no rush for Iran deal, US blockade stays
Iran says ship traffic at Strait of Hormuz will return to pre-war level in 30 days
Bahrain hands life sentences to nine people for IRGC links
Netanyahu tells Trump Israel will remain free to act against threats
Turkish riot police enter opposition headquarters to evict ousted leadership
At least 24 killed after powerful bomb explodes in Pakistan's Quetta
