Delighted schoolchildren whooped and cheered as a world famous locomotive passed by the end of their school field.

The Flying Scotsman travelled through Dorset on Tuesday on its way to Swanage Railway, passing by the end of the school field at Stourfield Junior School in Southbourne.

David Vann, deputy headteacher said: "Stourfield Juniors were overjoyed to learn that The Flying Scotsman would be passing our playing fields.

Read more: Photos of the Flying Scotsman at Swanage Railway

"It linked so brilliantly with year six currently learning about the Industrial Revolution and how the steam engine and railway were central to the distribution of manufactured goods.

Bournemouth Echo:

"Year four are also learning about the water cycle and how water changes state, so the heated water bellowing out as steam across our fields were such a wonderful real world application.

"The children were clearly so delighted to see living history rush passed their playing fields. They were not the only ones however, our headteacher, Miss Rawson’s mother clearly remembers The Flying Scotsman travelling past her garden gate when living in Nottingham many years ago."

The video, which was shared on the school's Twitter account, was liked by more than 1,200 people and retweeted 340 times.

Read more: Flying Scotsman in Swanage: When will the steam train leave?

The record-breaking icon will be hauling trains for five days and on public display for the public to visit its footplate for almost two weeks on Swanage Railway.

The 97-tonne A3 class locomotive arrived at Swanage station on the morning of Tuesday, October 18 after a six-hour rail journey from London.

Owned by the National Railway Museum in York, No. 60103 ‘Flying Scotsman’ will be on the Swanage Railway until Monday, November 7.