Federal officials say three men have been taken into custody in the United States on charges they plotted to travel overseas to join the Islamic State.

They say one man was arrested at John F. Kennedy International Airport in New York, one was arrested in Brooklyn and one in Florida. They were arrested just after midnight and were expected to appear in federal court later Wednesday.

Federal prosecutors say two of the men came to the attention of law enforcement last summer after they expressed online support for the groups.

They are charged with attempt and conspiracy to provide material support.