The Highland Railway ceased to exist on 31 December 1922, passing 173 locomotives to the London, Midland & Scottish Railway; twenty-three of these were withdrawn from traffic before being renumbered by the new company.