Railways play a major part in films with a host of Hollywood blockbusters picking some magnificent engines to appear in their productions.

Whether it be Denzel Washington and Chris Pine desperately trying to stop a runaway passenger train in the 2010 movie Unstoppable or Jim Carrey fighting with his alter ego aboard an Amtrak service in Me, Myself & Irene, trains have had a focal point in film production for decades.

Everything from the classic steam train right up to modern day Bullet Train has been portrayed in motion pictures, here are a selection of some of the most memorable train appearances.

Harry Potter and the Philosopher's Stone (2001)

The Harry Potter franchise has become one of the most successful series in British film history but it was the first movie, Harry Potter and the Philosopher's Stone, where fans caught a glimpse of the famous Hogwarts Express.

Departing from platform nine and three-quarters at Kings Cross station, the steam train transported students including a young Harry, Ron and Hermione to Hogwarts School of Witchcraft and Wizardry.

Harry and Ron are almost run off the rails in the sequel, Harry Potter and the Chamber of Secrets, when they land on the train in a flying car.

The route is still in regular use and patrolled by The Jacobite, passengers can take in magnificent views between Mallaig and Fort William in Scotland.

Murder on the Orient Express (1974)

A true classic of British cinema, based on the 1934 Agatha Christie novel, Murder on the Orient Express is one of the best "whodunnit" films around.

Set on the famous Orient Express travelling between Istanbul and London, viewers are left wondering who could have murdered the wealthy businessman Mr Ratchett, portrayed by Richard Widmark.

As the train snakes it way through Europe, the suspects are gathered by Detective Hercule Poirot and his friend Bianchi until the killer is revealed.

The Polar Express (2004)

This heartwarming Christmas movie tells the story of a young boy on the night of Christmas Eve in 1956 wanting to believe in the spirit of the season. During the night he is visited by a magical train called the Polar Express.

A conductor, voiced by Tom Hanks, is working on the huge steam train informing the boy that it is headed for the North Pole. The boy jumps aboard meeting a host of other children. He learns a valuable lesson about Christmas while also visiting Santa's workshop in Lapland.

Originally released in IMAX 3D theatres, the film holds the record in the Guinness World Book of Records for being the first all-digital capture movie in 2006.

3:10 To Yuma (2007)

A remake of the 1957 film of the same name takes the viewer back to 1884 where Civil War veteran and rancher Dan Evans, played by Christian Bale, is tasked with getting notorious outlaw Ben Wade, portrayed by Russell Crowe, to prison.

Evans needs to ensure that Wade is one the 3:10 afternoon train to Yuma Territorial Prison. With a $200 reward at stake Evans, accompanied by his son, needs to do everything within his power to get Wade on that train.

However, Wade's gang have other ideas and will try everything they can to ensure that their leader is set free.