Nicaraguan authorities have confirmed the arrests of four ISIS terror suspects who entered the country with a group of migrants, according to Breitbart.

The news outlet reported on Monday that three of the four men had been flagged by the U.S. Department of Homeland Security as ISIS suspects and asked Mexico to help locate them as they believed the men were making their way to the U.S. border.

Breitbart reports:

The three men are identified as Mohamed Ibrahim and Mahmoud Samy Eissa from Egypt, and Ahmed Ghanim Mohamed Al Jubury from Iraq. According to Teletica, the three men held travel documents from Costa Rica issued on June 9. The fourth man, Mustafa Ali Mohamed Yaoob from Iraq, had travel documents issued on June 13.

The four men were deported to Costa Rica and are being held at an immigration detention center. Costa Rican authorities claim that the travel alert was issued after the group entered the country and they had no prior knowledge about the group’s ISIS affiliations.