RAWALPINDI: Afghan Ambassador to Pakistan Omer Zakhilwal met Chief Of Army Staff (COAS) General Raheel Sharif on Friday and agreed to resolve the Torkham border issue and resume the routine cross border traffic, military spokesman Lt Gen Asim Bajwa said.

Tensions had heightened between Pakistan and Afghanistan as the two countries deployed tanks and armoured personnel carriers along the tense Torkham border, besides sending more troops after their negotiating teams failed to resolve the border fencing dispute, political administration sources had told Dawn newspaper on Thursday.

But the situation did not last long as during Friday's meeting both sides agreed to resume routine cross border traffic on the Torkham border and reiterated their commitment to to fight terror and bring lasting peace in the region.

The ISPR chief added that bilateral relations, particularly the border management issue was discussed in detail during the meeting of Afghan envoy with army chief.

Related: Afghan border security official arrested from Pishin over spying charges

Pakistan had started fencing some vulnerable points of the border with Afghanistan to plug illegal and secret border crossings and movements of people.

Afghanistan has objected to the border fencing and officially protested to Pakistan over the issue.

Because of the tense situation, the border remained closed for last three days.

Negotiating teams of the two countries briefly met at the Pakistan side of the border on Thursday but could not resolve the issue leaving scores of travellers and traders stranded on both sides of the border for a couple of days.