Federal prosecutors say a Texas man has been sentenced to four years in prison after pleading guilty to lying to U.S. agents about his support for a terrorist group.

Prosecutors say 38-year-old Bilal Abood of Mesquite was sentenced Wednesday. He pleaded guilty in October to making a false statement involving international terrorism to a federal agency.

Prosecutors have said that after being denied boarding of a 2013 flight at Dallas-Fort Worth International Airport, Abood said he was traveling to Iraq to visit family.

Abood later traveled through Mexico and eventually reached Syria. U.S. agents interviewed Abood after his return and he denied supporting terrorist groups.

A search of his computer revealed his online oath to the Islamic State leader.