Legendary locomotive The Flying Scotsman has made another surprise visit to Huddersfield, wowing commuters as it passed through the town's station.

The world-famous steam train, built in 1923, went through Huddersfield Railway Station at a modest speed on Tuesday.

There was just enough time for people to grab a quick video on their phones as it passed through.

Station staff and commuters watched as it steamed through the station.

The Flying Scotsman passing through Marsden Station.

Roy Wright, editor of the Examiner, was waiting for a train to Wakefield on Tuesday when the famous loco made an appearance.

Last week the much-loved engine passed through Huddersfield Railway Station before heading to Marsden and ending its run in Crewe.

READ MORE: Police hunt rail trespassers after Flying Scotsman visit

READ MORE: Did you see the Flying Scotsman on its secret journey through Huddersfield?

The Flying Scotsman is currently on a UK tour organised by the National Railway Museum.

The Flying Scotsman passing through Marsden waits for the signal to change before going through Standedge tunnel.

However, to avoid overcrowding and trespassing on the railway lines, information about when the train will be passing specific locations has been kept under wraps.

On Saturday, June 18, the Flying Scotsman will run from Newark to York. On June 25 it will run from London Victoria to York. All the tickets have been sold.

There are further trips, which are all sold out, in August and September when the route will take the Flying Scotsman from York to Carlisle.