INDIANAPOLIS (CBSNewYork/AP) — FBI agents arrested a teen from suburban Indianapolis as he tried to board a bus to New York and join ISIS overseas, federal authorities said Tuesday.

Akram Musleh, 18, of Brownsburg, Indiana was arrested without incident, FBI spokeswoman Special Agent Wendy Osborne said.

Musleh was in the custody of federal marshals at an undisclosed location, spokesman Tim Horty of the U.S. Attorney’s office said.

Musleh made an initial appearance Tuesday in U.S. District Court to hear a charge of providing material support to the Islamic State read to him, Horty said.

He faces a maximum sentence of 20 years in prison, a lifetime of supervised release and a $250,000 fine if convicted, prosecutors said. Musleh has a detention hearing scheduled for Monday.

FBI agents apprehended Musleh at a Greyhound bus terminal in Indianapolis while he tried to board a bus to New York, where he was to fly to Morocco and on to territory controlled by the Islamic State, prosecutors said.

A criminal complaint alleges Musleh intended to provide material support to ISIS by joining it.

On May 2, Musleh read an article about more than 8,000 potential terrorist targets in Indiana and then days later searched online for information about pressure cookers, which the court documents said could possibly be used to make an explosive device, FBI Special Agent Michele Denise Holley said in a 30-page criminal complaint. He also searched for information on dynamite, flash powder and other explosive materials, it said.

Tuesday’s bid was not Musleh’s first attempt to travel to the Middle East. He made five different reservations last year to travel to Iraq or to Turkey, allegedly as an attempt to reach territory controlled by Islamic State fighters, the complaint said.

According to the complaint, Musleh’s travel plans in April 2015 included trying to fly from Chicago’s O’Hare International Airport to Erbil, Iraq. Authorities said Musleh purchased a one-way ticket, but did not end up going, CBS affiliate WTTV-TV, Indianapolis reported.

Musleh then booked a one-way ticket from Chicago to Istanbul, Turkey in May of last year, and at least three more in June of last year, authorities said. He arrived at the airport on June 23, 2015 and obtained a boarding pass, but U.S. Customs and Border Protection officials stopped him and said he could not take a flight to Turkey because his travel documents were not in order.

Law enforcement made contact with Musleh and Brownsburg High School officials in 2013. The FBI identified him as someone who posted several videos featuring an al-Qaeda leader online, the complaint noted.

Federal agents and school officials “took steps to dissuade Musleh from engaging in radical extremism,” it said.

But nine months later, Musleh bought an Islamic State flag online and later photographed himself with it, the complaint said.

“The radicalization of American citizens by terrorist organizations like ISIL is a threat to our safety here and abroad,” said U.S. Attorney Josh Minkler said in a statement. “I am committed to using the full authority of the United States Attorney’s Office to identify, investigate and prosecute those that materially support terrorism.”

Indiana Gov. Mike Pence released a statement on the arrest, which was published by WTTV.

“While every Hoosier should draw comfort from this successful effort by our law enforcement community, we must not lose sight of that fact that, in light of the most recent terrorist attacks in Orlando and San Bernardino, no community is immune from this new threat,” the statement said in part. “In these challenging times, it is essential that all Hoosiers exercise vigilance and report any suspicious activities to the appropriate law enforcement authorities. In short, if you see something say something.”

Musleh’s attorney, federal community defender Michael Donahoe, said he had no comment on the case.

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)