|This article is about the narrow gauge engine. You may be looking for the standard gauge engine or the Story Library book.|
Number 2 (No. 2), nicknamed Stanley (after politician Stanley Baldwin), was an American narrow gauge pannier-tank engine who originally worked on the Mid Sodor Railway up until he was turned into a pumping engine.
The Railway Series
Stanley was built by the Baldwin Locomotive Works sometime around 1917 and apparently worked in the United States before arriving on Sodor. Following the end of the First World War, Stanley was bought secondhand as an army surplus by the Mid Sodor Railway and was re-gauged.
However, Stanley proved to be a bad bargain. As he had not been re-gauged properly, Stanley was prone to riding roughly along the track and often derailed, though he believed this was no big deal. Repeated attempts to cure this habit failed, and Stanley was stripped of his wheels and became a pumping engine behind the engine sheds at Arlesdale.
Stanley was later relocated to Cas-ny-Hawin to pump out water from the mines, but by December 1946 he was becoming worn-out and broke down, causing the mines to flood. With no reason to stay open, the Mid Sodor Railway was closed and Stanley was abandoned. 
Stanley was arrogant, careless, and refused to listen to advice. This carelessness eventually led to him being converted into a pumping engine.
Stanley is based on a Baldwin Class 10-12-D 4-6-0 pannier tank engine, built at the Baldwin Locomotive Works in Philadelphia, Pennsylvania, United States for service in the First World War. They were sent to the United Kingdom and the British War Office chose them to be the principal military steam locomotive for the trench railways. However, they were rough riders and had a tendency to derail. After the war ended in 1918, various railways, such as the Welsh Highland and the Snailbeach District Railway acquired them as surplus. Five of these engines are known to be preserved. Stanley had been re-gauged from 1ft 11 5/8in to 2ft 3in.
Stanley was painted in a red livery and carried his number on either sides.
- Stanley's second appearance, in the back of the shed in "Bulldog", creates a continuity error. According to "Granpuff", Stuart and Falcon did not know about Stanley, implying Stanley's arrival and rebuild occurred before their arrival. However, Stanley is seen in the same shed as Falcon, meaning Falcon would have known about Stanley and what happened to him. Also, it has been confirmed that Falcon was built and came to the railway before Stanley, while Stuart was built and came to the railway before Stanley was turned into a pumping engine.
- Stanley was the first and only engine of an American class in the Railway Series. Other engines from the United States are seen in the television series.
- According to Rev. W. Awdry in The Island of Sodor: Its People, History and Railways, Stanley was never officially named Stanley as it was only his nickname. He is regularly referred to by his number (No.2).
- In the illustration of Stanley as a pumping engine, he is seen with a cigarette in his mouth, the only engine ever seen with one.
- Stanley's role was replaced by Smudger in the television series.
- “No. 2," said Duke. "Was American and very cocky. He rode roughly and often came off the rails. I warned him to be careful!"
"Listen, bud!" he drawled. "In the States, we don't care a dime for a few spills!"
"We do here! I said, but he just laughed. But he didn't laugh when the Manager said he was going to take away his wheels and said he was going to make him useful at last."
"W-w-why? What did he do?!"
"He turned him into a pumping engine, that's what! He's still there behind our shed."
Stuart and Falcon were unusually good for several days.”
- ―Duke lecturing Stuart and Falcon about Stanley
The Railway Series