HOUSTON (CBSDFW.COM/AP) — A Texas man who planned to travel overseas and shared information on making bombs and using machetes has pleaded guilty to trying to join the Islamic State group.

Prosecutors say 20-year-old Kaan Sercan Damlarkaya, who was 18 the time of his crime, pleaded guilty Monday to attempting to provide material support to the Salafi jihadist militant group.

READ MORE: Motorcyclist Killed In Arlington Crash Wasn't Wearing A Helmet

Damlarkaya, who is a U.S. citizen, was arrested in December 2017 following an undercover FBI investigation. He remains in custody pending sentencing in Houston and faces up to 20 years in federal prison.

READ MORE: Arlington Father Shawn Andrew Kuhleman 1 Of 2 Killed In Chemical Incident At Plant Near Houston

Investigators say Damlarkaya shared information on making and using weapons with people he thought also supported IS.

MORE NEWS: Kaufman County Deputy On Administrative Leave Pending Investigation Into Handling Of Troubled Teen

Authorities found a machete near Damlarkaya’s bed.