A Las Vegas security guard is facing a federal weapons charge after authorities say he discussed making explosives and was planning attacks on a local synagogue and a bar that catered to the LGBTQ community.

According to the Justice Department, 23-year-old Conor Climo promoted white supremacy and communicated with people who identified with a white supremacist extremist organization.

Acting on a search warrant, law enforcement discovered bomb-making materials, which prosecutors described as “the component parts of a destructive device,” at Climo’s home.

Climo was arrested Thursday morning and later charged with one count of possession of an unregistered firearm. He appeared in court Friday.

A criminal complaint says that Climo discussed making Molotov cocktails and improvised explosive devices as well as his plans to attack a synagogue in Las Vegas during online encrypted conversations this year.

Climo also talked about conducting surveillance on a bar in downtown Las Vegas that he believed catered to the LGBTQ community and tried to recruit a homeless person to conduct “pre-attack surveillance” at a synagogue and other targets, according to the complaint.

While carrying out the search warrant, investigators found a notebook that contained hand-drawn diagrams of a potential attack in Las Vegas and drawings of “timed explosive devices,” the complaint said.