ISLAMABAD: Pakistan said militants firing from Afghan territory killed four of its soldiers along the border today, as tensions continue to rise between the neighbors.

Afghanistan and Pakistan accuse each other of doing too little to prevent Taliban fighters and other Islamist militants from operating on their territory.

The Pakistani army's press wing said four soldiers "embraced martyrdom" and four others were wounded by heavy weapons fired across the Afghan border in the 8,000 foot (2,400 meter)-high Akhandwala Pass.

Afghanistan recently accused Pakistan of not doing enough to arrest Afghan Taliban leaders who have been meeting to decide on a successor to the group's founder Mullah Mohammad Omar, whose death was confirmed last month.

Kabul officials say the Taliban are meeting semi-openly in Pakistan. Islamabad insists any such meetings are held in Afghanistan.

Afghan officials have long accused Pakistan of tolerating or even supporting the Afghan Taliban, a charge denied by Pakistan.

For its part, Islamabad says the leadership of the Pakistani Taliban - a group loosely allied with the Afghan Taliban but fighting mostly against Pakistan's government - is based in Afghanistan.

Last year new Afghan President Ashraf Ghani made closer ties with Pakistan a priority, hoping Islamabad could push Afghan Taliban leaders to the bargaining table to end Afghanistan's long war.

The new relationship appeared to yield fruit last month with groundbreaking first official peace talks with the Taliban. But after the news of Mullah Omar's death, the process was suspended and the Taliban launched a wave of attacks in Kabul.