About 500 prisoners are held at Guantanamo , most of them captured in Afghanistan on suspicion of ties to the Taleban or al-Qaida .