An Illinois man who prosecutors say plotted with his cousin to carry out a terrorist attack in the United States is due to be sentenced.

Jonas Edmonds, of Aurora, has pleaded guilty to conspiring to provide material support to the Islamic State group and making a materially false statement to law enforcement. He faces a maximum 23-year prison term. As part of a plea agreement, both sides asked for a 21-year sentence.

He is scheduled to be sentenced Wednesday in Chicago federal court.

Prosecutors said in a filing leading up to sentencing that Edmonds has falsely maintained he had no intention of attacking an Illinois National Guard base. They say that could alter how they approach sentencing.

His cousin, Hasan Edmonds, pleaded guilty to similar counts. He'll be sentenced later.