The men were convicted after a lengthy trial based on tens of thousands of FBI telephone intercepts collected over an eight-year investigation and a form Padilla filled out in 2000 to attend an al-Qaida training camp in Afghanistan .