Taliban members put on a show of force for CNN journalists -- an exceptionally rare and dangerous display for so many fighters to congregate in one place.
Salma Abdelaziz/CNN
Taliban members put on a show of force for CNN journalists -- an exceptionally rare and dangerous display for so many fighters to congregate in one place.
Now playing
12:26
36 hours with the Taliban
Alleged Taliban fighters and other militants stand handcuffed while being presented to the media at a police headquarters in Jalalabad on March 6, 2018. 
Afghan police said over 17 alleged Taliban militants including two Pakistani nationals were arrested during a five-week operation in Nangarhar province. / AFP PHOTO / NOORULLAH SHIRZADA        (Photo credit should read NOORULLAH SHIRZADA/AFP/Getty Images)
NOORULLAH SHIRZADA/AFP/AFP/Getty Images
Alleged Taliban fighters and other militants stand handcuffed while being presented to the media at a police headquarters in Jalalabad on March 6, 2018. Afghan police said over 17 alleged Taliban militants including two Pakistani nationals were arrested during a five-week operation in Nangarhar province. / AFP PHOTO / NOORULLAH SHIRZADA (Photo credit should read NOORULLAH SHIRZADA/AFP/Getty Images)
Now playing
01:21
The Taliban: How it began, and what it wants
Screengrab from video published on Youtube by Taliban media on Dec 19, 2016, showing  American hostage Caitlan Coleman and her husband Canadian Joshua Boyle with their two children.
From Youtube
Screengrab from video published on Youtube by Taliban media on Dec 19, 2016, showing American hostage Caitlan Coleman and her husband Canadian Joshua Boyle with their two children.
Now playing
00:51
Freed Taliban hostage facing charges in Canada
An Afghan security force member stands at the site of a car bomb attack in Kabul on May 31, 2017.
At least 40 people were killed or wounded on May 31 as a massive blast ripped through Kabul's diplomatic quarter, shattering the morning rush hour and bringing carnage to the streets of the Afghan capital. / AFP PHOTO / SHAH MARAI        (Photo credit should read SHAH MARAI/AFP/Getty Images)
SHAH MARAI/AFP/AFP/Getty Images
An Afghan security force member stands at the site of a car bomb attack in Kabul on May 31, 2017. At least 40 people were killed or wounded on May 31 as a massive blast ripped through Kabul's diplomatic quarter, shattering the morning rush hour and bringing carnage to the streets of the Afghan capital. / AFP PHOTO / SHAH MARAI (Photo credit should read SHAH MARAI/AFP/Getty Images)
Now playing
01:48
What is going on in Afghanistan?
A wounded man is assisted at the site of an explosion in downtown Kabul, Afghanistan, Saturday, Jan. 27, 2018. The Interior Ministry says a suicide car bomb attack in Kabul has left dozens wounded. (AP Photo/Massoud Hossaini)
Massoud Hossaini/AP
A wounded man is assisted at the site of an explosion in downtown Kabul, Afghanistan, Saturday, Jan. 27, 2018. The Interior Ministry says a suicide car bomb attack in Kabul has left dozens wounded. (AP Photo/Massoud Hossaini)
Now playing
01:54
Ambulance packed with explosives kills dozens
Smokes rises from the Intercontinental Hotel after an attack in Kabul, Afghanistan, Sunday, Jan. 21, 2018. Gunmen stormed the hotel in the Afghan capital on Saturday evening, triggering a shootout with security forces, officials said. (AP Photo/Rahmat Gul)
Rahmat Gul/AP
Smokes rises from the Intercontinental Hotel after an attack in Kabul, Afghanistan, Sunday, Jan. 21, 2018. Gunmen stormed the hotel in the Afghan capital on Saturday evening, triggering a shootout with security forces, officials said. (AP Photo/Rahmat Gul)
Now playing
01:56
Taliban claim responsibility for hotel attack
canadian family freed parents speak paula newton _00011721.jpg
canadian family freed parents speak paula newton _00011721.jpg
Now playing
02:36
Parents of freed Canadian hostages speak
Now playing
01:03
Trump: Rescue a sign world respects US again
taliban releases couple
CNN
taliban releases couple
Now playing
02:03
Taliban releases video of abducted family (2016)
paton walsh who are the taliban orig_00005127.jpg
paton walsh who are the taliban orig_00005127.jpg
Now playing
01:35
Who are the Taliban in 2016?
kunduz taliban launch attack watson_00010507.jpg
Reuters
kunduz taliban launch attack watson_00010507.jpg
Now playing
01:38
Afghan forces battle Taliban for control of Kunduz
Afghan men stone a woman in a hole to death in Ghalmeen, Afghanistan.
RADIO FREE EUROPE/RADIO LIBERTY/AFP/Getty Images
Afghan men stone a woman in a hole to death in Ghalmeen, Afghanistan.
Now playing
00:55
Woman stoned for adultery
Getty Images
Now playing
01:26
First female Afghan AF pilot seeks asylum
Caption:Pakistani education activist Malala Yousafzai gives a press conference on July 14, 2014 after meeting with the Nigerian president in Abuja. Malala on July 14 urged Nigerian President Goodluck Jonathan to meet with parents of the schoolgirls kidnapped three months ago by Boko Haram. Malala, who survived a Taliban assassination attempt in 2012 and has become a champion for access to schooling, was in Abuja on her 17th birthday to mark the somber anniversary of Boko Haram's April 14 abduction of 276 girls from a secondary school in the northeast Nigerian city of Chibok. AFP PHOTO / WOLE EMMANUEL (Photo credit should read WOLE EMMANUEL/AFP/Getty Images)
Wole Emmanuel/AFP/Getty Images
Caption:Pakistani education activist Malala Yousafzai gives a press conference on July 14, 2014 after meeting with the Nigerian president in Abuja. Malala on July 14 urged Nigerian President Goodluck Jonathan to meet with parents of the schoolgirls kidnapped three months ago by Boko Haram. Malala, who survived a Taliban assassination attempt in 2012 and has become a champion for access to schooling, was in Abuja on her 17th birthday to mark the somber anniversary of Boko Haram's April 14 abduction of 276 girls from a secondary school in the northeast Nigerian city of Chibok. AFP PHOTO / WOLE EMMANUEL (Photo credit should read WOLE EMMANUEL/AFP/Getty Images)
Now playing
01:18
Pakistan sentences 10 for Malala attack
afghan tv station threatened by taliban walsh pkg_00004921.jpg
afghan tv station threatened by taliban walsh pkg_00004921.jpg
Now playing
02:47
Afhanistan's TOLO TV defies the Taliban
A burnt-out police pick-up truck stands in the street after Afghan security forces retook control of Kunduz city from the Taliban militants in northeastern Kunduz province, on October 1, 2015.  Afghan forces retook control of the strategic northern city of Kunduz on October 1 after a three-day Taliban occupation that dealt a stinging blow to the country's NATO-trained military.    AFP PHOTO        (Photo credit should read STR/AFP/Getty Images)
STR/AFP/AFP/Getty Images
A burnt-out police pick-up truck stands in the street after Afghan security forces retook control of Kunduz city from the Taliban militants in northeastern Kunduz province, on October 1, 2015. Afghan forces retook control of the strategic northern city of Kunduz on October 1 after a three-day Taliban occupation that dealt a stinging blow to the country's NATO-trained military. AFP PHOTO (Photo credit should read STR/AFP/Getty Images)
Now playing
01:31
The state of the Taliban in Afghanistan
(CNN) —  

Afghanistan is to “conditionally” release three high-ranking Taliban prisoners in exchange for two American University of Afghanistan (AUAF) professors who were kidnapped by the group three years ago, President Ashraf Ghani said on Tuesday.

Ghani said that Afghanistan had decided to release the prisoners “to pave the way” for the release of US citizen Kevin King and Australian citizen Timothy Weeks.

One of the Taliban prisoners is Anas Haqqani, who is the brother of Sirajuddin Haqqani – deputy leader of the group and leader of the Haqqani Network. Two other senior commanders, Haji Mali Khan and Abdul Rashid, are part of the deal.

The AUAF professors were forcibly removed from a vehicle while traveling in Kabul in August 2016, according to the FBI.

“Their health condition has deteriorated during captivity with the terrorist kidnappers,” Ghani said in a televised statement.

The President added that Afghanistan had made the decision in consultation with international partners, including the US.

In 2017, the Taliban released a video purportedly showing the professors begging then President-elect Donald Trump to make a deal for their release.

If successful, the swap would be the most significant diplomatic development between the Taliban, the Afghanistan government and the Trump administration since the US president canceled peace talks in September.

Trump tweeted then that he had scrapped the meeting after the Taliban took credit for an attack in Kabul that killed a dozen people, including an American soldier.

Ghani did not confirm when the release would take place and the Taliban has not yet officially commented on the decision.

In a statement, the university said it was “encouraged” by reports of a possible release.

“While AUAF is not part of these discussions, we continue to urge the immediate and safe return of our faculty members who have been held in captivity, away from their friends and families, for more than three years,” the statement read.