President Hamid Karzai says his country has a right to defend itself
Afghan President Hamid Karzai has threatened to send troops over the border into Pakistan to confront militants based there.
He said that when militants crossed over from Pakistan to kill Afghans and coalition troops, his nation had the right to retaliate in "self-defence".
Mr Karzai's remarks came two days after Taleban fighters attacked an Afghan jail, freeing hundreds of prisoners.
Pakistan warned it would not tolerate outside interference in its affairs.
Yusuf Raza Gilani, Pakistan's prime minister, said the border between their two countries was too long to police.
"Neither do we interfere in anyone else's matters, nor will we allow anyone to interfere in our territorial limits and our affairs," he told the Associated Press news agency.
"We want a stable Afghanistan. It is in our interest. How can we go to destabilise our brotherly country?"
Baitullah Mehsud (left) is one of Pakistan's most feared militants
Mr Karzai has long pleaded for Pakistan and international forces to confront militants in Pakistan but has never before threatened to send troops over the border.
The BBC's Quil Lawrence in Kabul says it is the strongest language yet from Mr Karzai on his neighbour.
Mr Karzai's news conference had been intended to focus on this week's Afghan donors' conference in Paris, where world powers pledged $20bn (£10bn) to help re-build his country.
But instead, it was dominated by the prison break that led to the escape of some 900 inmates, including 350 Taleban members, and Afghanistan's response to militant attacks.
Mr Karzai said: "Afghanistan has the right of self-defence. When they cross the territory from Pakistan to come and kill Afghans and to kill coalition troops it exactly gives us the right to go back and do the same."
He warned that he was prepared to seek out Taleban leaders wherever they were, specifically naming Baitullah Mehsud, who is based in South Waziristan, Pakistan.
"Baitullah Mehsud should know that we will go after him now and hit him in his house," Mr Karzai said, adding that Taleban leader Mullah Omar could expect the same.
Afghan security forces have been searching for the escaped prisoners
He went on: "This is a two-way road in this case and Afghans are good in the two-way road journey."
The BBC's Shoaib Hasan in Islamabad says Mr Karzai's warning comes amid concerns over the new Pakistani government's dialogue with militants.
US and Afghan officials say this approach will lower pressure on the militants and further embolden them to launch attacks in Afghanistan, as well as allowing al-Qaeda a sanctuary from which to attack Western interests worldwide.
Some 20 escapees from Kandahar prison have been recaptured in the manhunt by Afghan and international troops, according to Afghan officials.
Nato said at least 17 insurgents had been killed but did not confirm whether any fugitives from the jail were among the dead.
A former Taleban stronghold, Kandahar is one of the key battlegrounds in the insurgency against President Karzai and troops from Nato and a US-led coalition.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.