KABUL - Afghanistan and Pakistan have agreed to send a joint military team to investigate a recent surge in cross-border attacks that have soured relations between the two neighbours, Kabul said Wednesday.

Afghan President Hamid Karzai and Pakistani President Asif Ali Zardari took the decision on the sidelines of an Organisation of Islamic Cooperation summit in Saudi Arabia on Tuesday, Karzai’s office said.

Pakistan said the two leaders “discussed bilateral ties, the regional situation, the peace process in Afghanistan and other issues of mutual concern”, but declined to go into specifics.

Pakistan says groups of Pakistani Taliban sheltering in Afghanistan have infiltrated the border to resume attacks on its security forces.

Karzai asked Pakistan “to immediately end these attacks” and warned that if they continued, they would negatively impact “Afghanistan’s friendship with Pakistan”. His office said Zardari agreed to assign a joint military delegation to visit the border and investigate the shelling.

Zardari’s office said: “The two leaders were unanimous in the view that all groups should shun violence and join the peace process in Afghanistan, for peace and stability of the region.”