BRUSSELS (Reuters) - Belgian federal prosecutors said on Tuesday they charged two people over a foiled attack in 2015 on a high-speed train between Brussels and Paris.

In August 2015 a machinegun-toting attacker wounded three people on a Thalys train before being overpowered by passengers, one of a series of militant attacks that has rocked Belgium and France over the past two years.

The two men, named as Mohamed B. and Youssef S., were “indicted for participation in the activities of a terrorist group,” prosecutors said.

They were among four people detained by police on Monday after houses were searched in Brussels and elsewhere in Belgium. The two others were released after interrogation.