The perpetrator of a shooting attack on a French train on Friday may be a Moroccan identified in 2014 to French police by Spanish intelligence services as having Islamist militant connections, France's Interior Minister said on Saturday."It is important to be careful about his identity which is not yet established with certainty," the minister, Bernard Cazeneuve, said.But he added: "If the identity he has declared is confirmed, he is a 26-year-old man of Moroccan nationality identified by the Spanish authorities to French intelligence services in February 2014 because of his connections to the radical Islamist movement." Three people were wounded in the incident after the gunmen opened fire on a high-speed train between Amsterdam and Paris, the French Interior Ministry said. "The man was armed with automatic weapons and knives. He was stopped by passengers," Christophe Piednoel, a spokesman for French railway SNCF said on iTele television.The man was arrested when the train stopped at Arras station in northern France but his motives were not yet known, a ministry spokesman said. Three US Marines were on board the train and overpowered the man, French media said.Those who were wounded included an American and a Briton. Train operator Thalys said that travellers were safe and the situation was under control.France has been on high security alert since Islamist militants killed 17 people in and around Paris earlier this year.Four hostages were killed and four others were critically wounded as a result of a hostage standoff in a kosher supermarket in eastern Paris in January.