A suicide bomber killed at least 11 soldiers and injured 13 at an army camp in northwestern Pakistan on Saturday, the military said.
An officer was among those who died in the bombing, which was claimed by the Pakistani Taliban in an email to journalists.
The attacker targeted an army unit's sports area in the Kabal area of the Swat Valley, the military's media wing said in a statement.
Violence in Pakistan has declined in recent years following a series of military offensives along the northwestern border with Afghanistan, but militant groups are still able to carry out bloody attacks.
There have been a number of deadly assaults in recent months in the northwest as well as in the southwestern Balochistan province.
The Swat Valley was under the de facto control of the Pakistani Taliban in 2007-2009. They imposed their harsh brand of Islamic law, and carried out public floggings and executions until a military operation drove them out.
The area has seen sporadic militant attacks since, including assassinations of local leaders who cooperate with the government.
Share your experiences, suggestions, and any issues you've encountered on The Jakarta Post. We're here to listen.
Thank you for sharing your thoughts. We appreciate your feedback.
Quickly share this news with your network—keep everyone informed with just a single click!
Share the best of The Jakarta Post with friends, family, or colleagues. As a subscriber, you can gift 3 to 5 articles each month that anyone can read—no subscription needed!
Get the best experience—faster access, exclusive features, and a seamless way to stay updated.