Prosecutors say an undercover agent gave 18-year-old Adel Daoud of suburban Hillside a phony car bomb and watched him press the trigger.

Daoud is due in Chicago federal court Monday. He's charged with attempting to use a weapon of mass destruction and attempting to damage and destroy a building with an explosive. Federal prosecutors say the device was harmless and the public was never at risk.

An affidavit says Daoud was active in jihadist Internet forums. The FBI says he searched online for information about making bombs. Prosecutors say Daoud was offered several chances to walk away from the plot.