Flying Scotsman was built in Doncaster, the first locomotive of the newly formed London and North Eastern Railway (LNER). It went into service on 24 February 1923 with number 1472. It was designed by Sir Nigel Gresley as part of the A1 class—the most powerful locomotives used by the LNER at that time.