From behind bars at Guantanamo Bay to the Taliban's cabinet