HOUSTON - The local teen accused of trying to join ISIS made his first court appearance Thursday.

The 18-year-old pleaded not guilty to the charges against him.

FBI agents arrested Kaan Damlarkaya on Friday. Court documents say he told undercover agents online that if he didn't make it overseas, he wanted to carry out an attack in the U.S.

Investigators say it goes back to at least 2014 and said Damalarkaya explained that it was his "dream" to be a martyr and have the biggest explosion.

The criminal complaint also alleges Damlarkaya claims he tried to get to Syria on two other occasions but failed.

Damlarkaya faces up to 20 years in prison if convicted.

His trial and jury selection begin on February 12.