KABUL - Pakistan will consider freeing former Afghan Taliban second-in-command, Mullah Abdul Ghani Baradar, if current releases of lower level members help to advance peace efforts, officials from both countries told Reuters on Thursday.

"After releasing 13 Taliban, Pakistan promised to free Mullah Baradar if these releases prove effective in peace negotiations," said a senior Afghan official close to talks between Islamabad and Kabul.

Afghanistan has been pushing Pakistan to release Afghan Taliban captives who could provide leverage in any peace talks. Pakistan has released mid-level Taliban prisoners over the last two days. But Pakistan is under growing pressure to free senior Taliban figures like Baradar, as most NATO combat troops pull out by the end of 2014.

Afghan officials believe he may command enough respect to persuade the Taliban to engage in talks with the Kabul government. Asked if Baradar would also be freed, a senior Pakistani foreign ministry official said that could happen if the release of the mid-level Taliban figures ‘produced results’.

Kabul welcomes Pakistan plan to free Taliban

AFP adds: The Afghan government Thursday welcomed Pakistan's agreement to release several Taliban prisoners, but a Taliban official dismissed the move as irrelevant to the country's peace process. Details of the deal were remained unclear a day after the agreement was reached at a meeting between the Pakistan government and Afghanistan's High Peace Council in Islamabad.

Kabul had pressed for the release of senior Taliban leaders held in Pakistan. It believed they could help bring the militants to the negotiating table to end 11 years of war before the withdrawal of US-led NATO troops in 2014. But the seniority of those to be released and plans for their future have not been disclosed publicly by Pakistan or Afghan negotiators. "We welcome this move as a positive step toward Afghanistan's peace process," presidential spokesman Aimal Faizi said, declining to comment further. Support from Pakistan, which backed the Taliban regime that held power in Kabul from 1996 to 2001, is seen as crucial to peace in Afghanistan after the departure of NATO combat forces.

The Taliban official dismissed the deal as "just a symbolic gesture to show the world that something happened in this meeting".

"All those that are being freed are not members of Taliban any more, they have been dismissed and they're not important," the Taliban official told AFP in northwest Pakistan.

He said the Taliban were not in contact with the Afghan government-appointed High Peace Council and any negotiations should take place between the Taliban and the United States.

The militants have always publicly refused to negotiate directly with Kabul, calling the government of President Hamid Karzai a US puppet. But preliminary contacts between the US and the Taliban in Doha were broken off in March when the militants failed to secure the release of five of their comrades held in Guantanamo Bay.

The prisoners freed by Pakistan could play a role if they were sent back to the Taliban ranks rather than brought to Kabul, said Waheed Mujda, an analyst and former foreign ministry official during the Taliban regime.

"If they are released and brought to Kabul it will be meaningless and have no effect on the peace process. They will be just like dozens of other Taliban officals who live in Kabul and have no link to the Taliban," Mujda, who lives in the Afghan capital, told AFP.