SACRAMENTO (CBS13) – Spencer Stone and his two childhood friends were on a train in France, when they heard a man loading a gun in the bathroom. The trio quickly sprang to action and ended up stopping a deadly terrorist attack.

Stone, Anthony Sadler and Alek Skarlatos – all Sacramento-area natives – will now be featured in an upcoming film by legendary actor and director Clint Eastwood.

READ MORE: WATCH: Ripon High School Principal Hailed A Hero After Attempting To Take Down Suspect

The Hollywood Reporter reports, “The director has set his next project at Warner Bros. based on the story of Anthony Sadler, Alek Skarlatos and Spencer Stone, three Americans traveling in Europe who found themselves on a train from Brussels to Paris, where they thwarted an attempted terrorist attack by overpowering the man armed with an AK-47.”

The three childhood friends were lauded for their bravery by leaders in France and the US. They were also given a hero’s welcome when they returned to Sacramento.

MORE NEWS: Granite Bay Mansion Heavily Damaged In House Fire

The movie will be based on the book The 15:17 to Paris: The True Story of a Terrorist, a Train, and Three American Heroes, which was written by Sadler, Skarlatos, Stone and Jeffrey E. Stern.