(NEW YORK) —  A Bronx man has been arrested Friday at John F. Kennedy International Airport on terror-related charges, a law enforcement official told ABC News.

According to the source, the man, who was not immediately identified, wanted to join the Taliban in Afghanistan and was boarding a flight to Pakistan when he was arrested.

The defendant is expected to make an initial court appearance in lower Manhattan later Friday.

The source said the man did not represent a threat to the homeland, but was arrested based on his intention to travel in pursuit of joining the ranks of the Taliban.

Copyright © 2019, ABC Radio. All rights reserved.