Original: 22 locomotives were built and they dominated services on the line until their withdrawal at the end of 1981.
Simplified: 22 locomotives were built, and they dominated services on the line until their withdrawal at the end of 1981.