CHICAGO (CBS) — FBI agents have arrested a southwest suburban teenager, for allegedly trying to travel overseas to join the terrorist group ISIS.

U.S. Attorney’s Office spokesman Randall Samborn said the 19-year-old Mohammed Hamzah Khan of Bolingbrook appeared in federal court Monday morning, after he was arrested at O’Hare International Airport on Saturday.

Khan has been charged with attempting to provide material support to a foreign terrorist organization, specifically by attempting to join the Islamic State of Iraq and the Levant, known as ISIS or ISIL.

Khan, dressed in an orange jail jumpsuit, appeared in federal court Monday morning, when a judge ordered him held in custody, pending a detention hearing on Thursday.

The charge of attempting to support terrorism carries a maximum penalty of 15 years in prison.

Federal prosecutors said Khan was arrested Saturday afternoon as he was passing through a security checkpoint at O’Hare.

Khan allegedly had purchased a ticket on Austrian Airlines to travel to Vienna, Austria, and then to Istanbul, Turkey. He also purchased a ticket for a return flight on Wednesday from Istanbul to Zurich, Switzerland, and then to Chicago.