Anthony Sadler, from Pittsburg, California, Aleck Sharlatos from Roseburg, Oregon, and Chris Norman, a British man living in France (L-R), three men who helped to disarm an attacker on a train from Amsterdam to France, pose with medals they received for their bravery at a restaurant in Arras, France August 21, 2015. REUTERS/Pascal Rossignol On Friday, two US service members were among a group of people who helped stop a potential terror attack on a high-speed Paris-bound train.

US Airman First Class Spencer Stone and Oregon National Guard member Alek Skarlatos were riding on the train when a 26-year-old Moroccan national boarded a Thalys train departing from Amsterdam with an AK-47, an automatic pistol, nine magazines of ammunition, and a box cutter, reports Le Monde.

"I saw a guy entering the train with an AK-47 and a handgun and I just looked over to Spencer and said, 'Let's go, go!'" Skarlatos said in an interview.

The men jumped into action along with US student Anthony Sadler.

"The three of us beat up the guy," Sadler told CNN. "In the process, Spencer gets slashed multiple times by a box cutter, and Alek takes the [gun] away."

The attacker was not able to fire his weapons but wounded one man with a handgun and the other with his box cutter, AP reports.

U.S. serviceman Spencer Stone waves as he departs the Clinique Lille Sud, which specializes in hand injuries, in Lesquin, France, August 22, 2015. REUTERS/Stringer Stone was among those injured, but managed to tend to another injured passenger who was bleeding heavily from his wounds.

Sadler told CNN that Stone put "pressure to the neck wound before [the passenger] bled out." Stone was among the wounded who were taken to hospitals, but he is expected to recover.

Stone, an airman from the US air base in Lajes, Azores, was treated on Saturday at a specialist hospital for hand injuries in the northern French city of Lille and later released.

Belgian police officers stand guard on a platform at the Thalys high-speed train terminal at Brussels Midi/Zuid rail station, August 22, 2015. Reuters The Pentagon had confirmed to the Associated Press on Friday that "one US military member was injured in the incident. The injury is not life-threatening."

US President Barack Obama was informed of the incident and "expressed his profound gratitude for the courage and quick thinking of several passengers, including US service members, who selflessly subdued the attacker," according to a senior White House official.

French investigating police check for clues on the train platform in Arras, France, August 21, 2015. Reuters

“I’m just a college student. I came to see my friends on my first trip in Europe, and we stopped a terrorist,” Sadler told French TV. “It’s kind of crazy.”

The gunman was taken into custody by the local authorities and was transferred Saturday morning to anti-terror police headquarters outside Paris.

According to the Associated Press, the gunman lived in the southern Spanish city of Algeciras and was a member at a mosque under surveillance there.

A sign at the entrance of a French museum indicating France's highest security alert program. Amanda Macias/Business Insider In 2014, the suspect moved to France after visiting Syria.

Since January when Islamist militants killed 17 people in and around Paris — including the attacks at the offices of the satirical paper Charlie Hebdo, France enacted the Vigipirate plan, the nation's highest security alert program.

While Europe's major train stations like France's Gare du Nord and Brussels' Gare du Midi, are patrolled by armed soldiers, passengers can board most high-speed trains without passing through metal detectors or having their bags searched.

Reuters and Michael Kelley contributed to this report.