Mohammad Amawi had faced up to life in prison.
Meanwhile, in Boston, a 27-year-old Massachusetts managainst shoppers in U.S. malls and against U.S. military in Iraq.
Amawi is the first defendant to be sentenced in the case. He and two other men were found guilty last year of plotting to recruit and train terrorists to kill American soldiers in Iraq.
Defense lawyers say the three were set up by an undercover FBI informant.
In sentencing Amawi on Wednesday, U.S. District Judge James Carr said the informant sought the men out. Without his involvement, the judge says the trio was less likely to connect.
One of the other men, Marwan El-Hindi, was scheduled to begin his sentencing hearing Wednesday.