By what was XXX replaced?
Midland Railway
The Midland Railway (MR) was a railway company in the United Kingdom from 1844 to 1922, when it became part of the London, Midland and Scottish Railway.
London, Midland and Scottish Railway