Federal prosecutors say a U.S. Air Force veteran has been arrested on terrorism charges in a plot to travel to Syria to join the Islamic State group.

A grand jury indicted Tairod Nathan Webster Pugh (pew), of Neptune, New Jersey, on charges of attempting to provide material support to a terrorist group and obstruction of justice.

He will appear Wednesday in federal court in New York City and is now in custody. It isn't immediately clear whether he had been assigned an attorney who could comment on the charges against him.

Prosecutors say the 47-year-old Pugh had been fired from his most recent job as an airplane mechanic based in the Middle East. Prosecutors say he tried to travel from Egypt to Turkey to ultimately cross the border into Syria.