Yes, I understand. But subsequent to that, and because of some political considerations at Abu Ghraib, Guantanamo, and so on, the government of the day's judgment was that it was better to transfer them to the Afghan authorities at that point than to American authorities.
On May 12th, 2010. See this statement in context.