Brazilian police say they have arrested the last suspect who was sought in the case of a group that pledged allegiance to the Islamic State on social media and shared ideas about attacking the Olympics in Rio de Janeiro.

The Federal Police said in a statement late Sunday that the man was caught in the city of Comodoro, in the central west region of Brazil.

Police said he was taken to a federal prison but revealed no further details, citing security reasons.

The plot was announced by authorities on Thursday when 10 Brazilians were arrested in different states of Brazil. Another man turned himself in on Friday.

Officials say the suspects were IS sympathizers but they hadn't traveled to the group's stronghold in Syria or Iraq or received any training.