Federal officials arrested two Arizona men on charges of attempting to provide material support to ISIS, the Justice Department announced Monday.

FBI agents arrested Ahmed Mahad Mohamed and Abdi Yemani Hussein on July 26 after they communicated with an undercover FBI agent and expressed a desire to travel overseas and fight on behalf of the terrorist group, according to the Justice Department.

ADVERTISEMENT

The two eventually bought plane tickets to Egypt, intending to continue to Sinai and join ISIS, according to the FBI. Agents arrested them after they checked in for their flight at Tucson International Airport last week, according to the statement.

Court documents indicate both defendants initially came to the U.S. as refugees from Somalia, although Mohamed had secured lawful permanent resident status at the time of his arrest, according to the Justice Department.