Militant fire from across the border in Afghanistan killed two Pakistani soldiers on Sunday, the army said.
The army said it retaliated and killed two or three attackers.
The incident in Pakistan’s Bajaur district is the first of its kind reported since the Taliban took over Afghanistan.