HUNDREDS of railway enthusiasts turned out to watch the Flying Scotsman make its way through Hampshire.

Families anxious to catch a glimpse of the world’s most famous steam locomotive gathered on station platforms and footbridges to see it complete part of its centenary tour of the UK.

A large number of spectators gathered at Swanwick station and other vantage points in the Southampton area on Saturday.

Daily Echo: The Flying Scotsman at St Deny's stationThe Flying Scotsman at St Deny's station (Image: John Borg)

The iconic train entered service in the early 1920s and went on to break several records.

In 1928 it began providing the first non-stop service between London and Edinburgh and later became the first UK locomotive to reach 100mph. It retired from regular service in 1963 after covering two million miles but continues to make special trips.

Businessman Sir William McAlpine is often regarded as the man who "saved" the Flying Scotsman.

He bought the 70ft locomotive for £25,000 just days before it was due to be purchased by an American company. After bringing it back to England from the US he spent thousands of pounds on its restoration.

Daily Echo: The Flying Scotsman travels over the railway viaduct at FarehamThe Flying Scotsman travels over the railway viaduct at Fareham (Image: Phil Colborne)

The Flying Scotsman's public appearances always attract a huge crowd and several safety warnings were issued ahead of its visit to Hampshire.

Eric Woodward, Network Rail’s head of safety, health & environment on the Wessex route, said: "The safety of our passengers, staff and the public is always our number one priority.

"We are urging anyone intending to watch the Flying Scotsman travelling through our region to please stay safe and vigilant.

"In particular, please do not overcrowd level crossings or platforms and remember that trespassing on the railway is a criminal offence. Please follow any safety instructions from railway staff."

Daily Echo: The Flying Scotsman passes through Hedge EndThe Flying Scotsman passes through Hedge End (Image: Mark Gosden)

The Flying Scotsman is currently owned by the National Railway Museum in York, which has given it a major refurbishment.

Judith McNicol, the museum's director, said: "We're delighted the world’s most famous steam locomotive is able to operate a series of mainline tours to celebrate its centenary year.

"However, we urge everyone to make sure they view the Flying Scotsman from a safe vantage point to ensure this is an enjoyable and safe experience for all."

Jane Lupson, South Western Railway's safety and security director, had a similar message.

She said: "If you're viewing the locomotive at our stations you must stay behind the yellow line at all times, listen to our station staff and never go near the track."