The Jacobite is a steam locomotive that operates over part of the West Highland Railway Line in Scotland. The Jacobite runs a scenic route of 41 miles between Fort William and Mallaig, passing Loch Eil, Glenfinnan Viaduct and Arisaig. The Jacobite's route was used for filming Harry Potter.