A car bomb aimed at a Pakistani security force convoy killed 15 people and wounded 25 others Sunday on the outskirts of the northwestern city of Peshawar, an official said.
The attack happened not far from the semi-autonomous tribal belt where Taliban and Al-Qaeda-linked groups have bases, as British Prime Minister David Cameron visited the capital Islamabad.
"Now 15 people have died," said Jamil Shah, spokesman for the government-run Lady Reading Hospital in Peshawar.
At least three children were among the dead, and two children and a woman were among more than 20 injured, he added.
Javed Khan, a local administration official, told reporters that one policeman was also among the dead in the attack at Badaber, a flashpoint for violence south of Peshawar.
"This is a very sad incident. There have been targeted operations in that area in the last few days and we have arrested many terrorists from that area," Khan said.
Shops and cars were damaged in the attack, an AFP reporter said. Pieces of human flesh, broken glass, lost shoes and vegetables from nearby carts were flung across the scene, and the seats of damaged cars were stained with blood.
It was not immediately clear whether anyone from the paramilitary Frontier Corps, the target of the attack, had been killed.
"So far, we have reports that two Frontier Corps soldiers have been injured. We don't know about any other losses," a military official told AFP on condition of anonymity.
There was no immediate claim of responsibility but the Pakistani Taliban frequently target security forces as part of a seven-year domestic insurgency that has killed thousands of Pakistanis.
Pakistan is on the frontline of the US-led war against Al-Qaeda and terror plots against the West have been hatched in its semi-autonomous tribal belt. Pakistani troops have for years been fighting homegrown militants in the northwest.
Speaking in Islamabad, Cameron said the battle against terrorism needed "a tough and uncompromising security response" as well as investment in education and tackling poverty.
Pakistani Prime Minister Nawaz Sharif condemned the attack.
"Pakistan has suffered the most in terms of human and financial losses. We are, therefore, resolved to tackle the menace of extremism and terrorism with renewed vigour and close cooperation with our friends," he said after his talks with Cameron.
On June 22 gunmen shot dead 10 foreign tourists and a Pakistani guide in an unprecedented attack at a remote base camp in the Himalayas that was claimed by Pakistan's umbrella Taliban faction.
One was an American with dual Chinese citizenship, three came from the Ukraine, two from Slovakia, two others from China, one from Lithuania and one from Nepal.
As a result Pakistan suspended expeditions on its second highest peak, Nanga Parbat, and the tiny tourist industry built around natural beauty and mountaineering opportunities is set to collapse.
Pakistan's umbrella Taliban movement claimed responsibility on behalf of Junood ul-Hifsa, a new faction it said had been set up to kill foreigners to avenge US drone strikes on Taliban and Al-Qaeda operatives in the tribal belt.
Pakistan's government, which took office in June after historic elections, faces a massive array of problems including a moribund economy and Islamist militancy.
Sharif has previously advocated peace talks with the Taliban and criticised US drone strikes, echoing long-held complaints that the US campaign violates national sovereignty.