CHICAGO (CNN) — The FBI said Saturday it has arrested an 18-year-old American man who allegedly tried to blow up a car bomb in front of a downtown Chicago bar.

Adel Daoud, of the Chicago suburb of Hillside, was taken into custody Friday night after a “rigorous” undercover operation, the FBI said. He made an initial appearance Saturday before a U.S. magistrate judge and has a preliminary hearing Monday afternoon.

“The explosives that Daoud allegedly attempted to detonate posed no threat to the public. They were inert and had been supplied by undercover law enforcement personnel,” said Gary Shapiro, the acting U.S. attorney for the Northern District of Illinois.