Complex sentence: Under the original name of Ian Riley Engineering, the company used to own a fleet of Class 37 diesel locomotives, but due to lack of work, they were gradually sold to other operators.
Split into simpler sentences: Under the original name of Ian Riley Engineering, the company used to own a fleet of Class 37 diesel locomotives. But due to lack of work, they were gradually sold to other operators.