Twelve Pakistan Army soldiers were killed and two more injured when a suicide attacker blew himself up near a group of recruits returning from a football match at Kohat cantonment in the North West Frontier Province on Monday.
The suicide bomber got close to the personnel and detonated his explosives on a road that is also used by the local population, military spokesman Maj Gen Waheed Arshad said.
An army battalion headquarters and an army public school are also located in the area but Arshad said it appeared the recruits were the main target of the bomber.
Nine soldiers were killed instantly while three more succumbed to their injuries later, the army said in a statement.
Asked how such an attack was carried out in a high-security area, Arshad said: 'This is a public road on which there was other traffic. It is very difficult to identify a suicide attacker unless you have prior information. It is a difficult thing to prevent."
No group claimed responsibility for the attack, the latest in a series of suicide bombings targeting Pakistan's armed forces. On Saturday, two soldiers and three civilians were killed by a suicide bomber in Nowshera district, which borders Kohat.
Twin suicide attacks within the cantonment near the southwestern city of Quetta killed five soldiers and injured 22 people on December 13.
The suicide attacks have increased since the Pakistan Army carried out an operation in July to flush out militants holed up in the Lal Masjid in Islamabad. At least 100 people were killed in that ambush.
Pro-Taliban militants targeted by the army in the Swat valley of NWFP have also threatened to carry out suicide attacks against the security forces.