PARIS — A gunman opened fire on a high-speed train traveling from Amsterdam to Paris on Friday, wounding two people before two American passengers – one reportedly a man from Pittsburg, California – subdued him, officials said.

French Interior Minister Bernard Cazeneuve, speaking in Arras in northern France where the suspected was detained, said one of the Americans was hospitalized with serious wounds. Their names were not immediately released.

Philippe Lorthiois, an official with the Alliance police union, said on i-Tele that the two Americans were soldiers. In Washington, the Pentagon said it “can only confirm that one U.S. military member was injured in the incident. The injury is not life-threatening.”

One of the Americans was Pittsburg resident Anthony Sadler, according to Business Insider UK.

The White House issued a statement saying that President Barack Obama was briefed on the shooting, and said, “While the investigation into the attack is in its early stages, it is clear that their heroic actions may have prevented a far worse tragedy.”

Contrary to early reports, Lorthiois said the attacker did not fire his automatic weapon but wounded one man with a handgun and the other with a blade of some kind.

The suspect is a 26-year-old Moroccan, according to Sliman Hamzi, an official with the police union Alliance, who spoke on French television i-Tele.

Investigators from France’s special anti-terror police are leading the investigation, a spokeswoman for the Paris prosecutor’s office said.

“As always where an act that could be terrorist in nature is involved, the greatest care and the greatest precision will be used,” Cazeneuve said.

Cazeneuve said the two Americans “were particularly courageous and showed great bravery in very difficult circumstances” and that “without their sangfroid we could have been confronted with a terrible drama.”

A third person, French actor Jean-Hugues Anglade, suffered a minor injury while activating the train’s emergency alarm, Lorthiois said.

Passenger Christina Cathleen Coons of New York described the drama in car 12 of the train in an interview with Ouest France newspaper.

“I heard shots, most likely two, and a guy collapsed,” she is quoted as saying.

Coons, identified as a 28-year-old vacationing in Europe, said a window broke above one woman’s head. “A guy fell to the floor and had blood everywhere,” she is quoted as saying.

She described lying on the floor herself and taking photos with her phone.

“I thought there would be a shootout in the train,” the newspaper quotes her as saying. Then, “people came to take care of him.”

The attack took place at 1545 GMT while the Thalys train was passing through Belgium, according to a statement from the office President Francois Hollande. Hollande said he’s spoken with Belgian Prime Minister Charles Michel, and the two leaders pledged to cooperate closely on the investigation.

A young woman said on i-Tele that she was in the carriage next to the one which the gunman struck.

“I wouldn’t call it a fusillade, because even in the next wagon we didn’t hear any shots,” said Margaux, who declined to give her last name. She said passengers remained “relatively calm,” and some showed no concern until police boarded the train.

Europe’s major rail stations, such as Paris’ Gare du Nord and Brussels’ Gare du Midi, are patrolled by soldiers armed with rifles, but passengers can board most high-speed trains without passing through metal detectors or having their bags searched.

One exception is the Eurostar between Paris and London. Passengers on those trains must pass through a metal detector and have their bags scanned as well.

Thalys is owned by the French and Belgian railways and operates high-speed trains serving Paris, Brussels, Amsterdam and Cologne, Germany.

French authorities have been on heightened alert since Islamic extremist attacks in January left 20 people dead, including the three attackers.