Two New Jersey men accused of trying to join a terrorist group in Somalia face a bail hearing in federal court in Newark Thursday.
They were arrested Saturday night at New York's Kennedy Airport as they prepared to fly to Egypt.
Prosecutors say the two intended to head to Somalia to seek terror training from al-Qaida-affiliated jihadists.
Court documents say the men had no contact with Somali terrorists and they had hoped they'd be accepted by a terrorist group.
Law enforcement became aware of them in 2006 following an anonymous tip.