The U.S. attorney's office says a federal grand jury has indicted an Illinois teenager who is accused of trying to ignite what he thought was a car bomb outside of a Chicago bar.

Adel Daoud on Thursday is charged with attempting to use a weapon of mass destruction and attempting to damage or destroy a building by means of an explosive.

Daoud, who will turn 19 on Friday, was arrested last week after allegedly trying to set off a triggering device that was part of a fake mechanism set up by FBI agents as a part of a sting.

According to court documents, in his conversations with the agent, Daoud explained his reasons for wanting an attack, saying the United States was at war "with Islam and Muslims."