A senior Taliban commander who the Afghan government believes could be key to brokering a political settlement in Afghanistan will be released later this month, Pakistan’s most senior foreign affairs official has announced.

Islamabad has long-resisted demands by the Afghan president, Hamid Karzai, to free Abdul Ghani Baradar, the Taliban’s former second-in-command, who it is hoped could initiate a peace process between Kabul and hardline rebels who once ruled the country.

Sartaj Aziz, the prime minister’s foreign affairs adviser, said Pakistan had finally agreed to hand him over after an apparent improvement in the tempestuous relationship between the two countries.

An exact timeline for Baradar’s release hasn’t been decided; however, Sartaj Aziz has been quoted as saying that the Taliban leader is expected to be freed before the end of September. While many are hesitant to see an accused Taliban leader set free, many who are more familiar with the region are hailing the move as a step forward in Pakistan-Afghan relations.