Diesel engines were faster, easier to maintain, and cleaner. And on 12 August 1968, British Railways imposed a ban on all mainline steam traffic – though there were still some heritage services running, and some locomotives were used in industry until the 1980s.