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.

Three killed in attacks on two Saudi airports
Russia hits Ukraine with drones and missiles, killing at least eight
Kagan and Soai win 2026 Nobel chemistry prize for single molecular mirror creation
Ten injured in knife attack at Polish school
Israelis mark three years since Hamas attack that set off Gaza assault