The London, Midland and Scottish Railway (LMS) Stanier Class 8F is a class of steam locomotives designed for hauling heavy freight. 852 were built between 1935 and 1946 (not all to LMS order), as a freight version of William Stanier's successful Black Five, and the class saw extensive service overseas during and after the Second World War.