Judge Thomas Sagebiel said the defendant cooperated fully with investigators - opening the way for a plea deal under which prosecutors and the defense agreed to a maximum sentence of five years in prison.

The 25-year-old was arrested in Pakistan in June 2010. He was extradited two months later. Prosecutors said Makanesi was planning to return to Germany to raise funds for Al-Qaeda and also be in place for terrorist operations if needed.