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