The jury in Boston convicted him of conspiring to help al-Qaeda and plotting to kill US soldiers in Iraq.