The Taliban have freed an American and an Australian held hostage since 2016 in exchange for three imprisoned senior militants.
Timothy Weeks and Kevin King were kidnapped outside the American University of Afghanistan in Kabul where they worked as professors.
The three Taliban prisoners reportedly include Anas Haqqani, younger brother of the Taliban deputy, Sirajuddin Haqqani, and two other senior commanders.
Afghanistan's President Ashraf Ghani said it was a hard decision but is aimed at restarting talks with the Taliban.


72 killed in Israeli attacks on Lebanon as it warns residents to leave south
Landslide kills over 200 people at Congo's Rubaya mine
80 people killed after US sinks Iranian warship
Emergency GCC-EU meeting to discuss Iranian aggression
Omani navy rescues cargo ship crew after missile strike
