Tairod Nathan Webster Pugh, a former U.S. Air Force mechanic, was indicted Monday by a grand jury in Brooklyn for attempting to join ISIS in Syria.

He was also charged with attempting to provide material support to a terror organization.

According to the indictment, Pugh was fired as an airline mechanic in Kuwait in December 2014. He then hopped on a flight in Egypt to Turkey on January 10 of this year, with plans to cross the border into Syria once the plane landed.

When he arrived in Turkey however, authorities didn’t allow him entry into the country, and he was subsequently sent back on a flight to Egypt. On January 15, he was found carrying suspicious items including a photo of a machine gun, and was deported back to the United States.

He was arrested by U.S. authorities on January 16.

This from NBC News:

Searches of his laptop revealed online queries about borders and crossing points controlled by the Islamic State, and videos showing ISIS executions. Posting on social media show Pugh repeatedly professed a desire never to return to the U.S., even though he has family — including children — in the country.

Pugh is a U.S. citizen whose last known address in the United States was in Neptune, New Jersey.

He served in the Air Force from 1986 to 1990 as an avionics instrument specialist, according to court documents. While in the Air Force, he reportedly received training in the installation and maintenance of aircraft engine, navigation, and weapons systems.

After leaving the Air Force, officials say, Pugh worked for a number of companies in the U.S. and Middle East as an avionics specialist and airplane mechanic.