The class 127 units operated one of the most intensive passenger services worked by diesel multiple units and, by the late 1970s, it was clear they needed replacing. It was therefore decided to electrify the Bedford line and replace the Class 127 units with new
Class 317 electric multiple units. The class 127 units should have been withdrawn by 1982, however, delays with the new trains meant they had to struggle on in service until July 1983. This was largely due to an industrial dispute with the unions over Driver only operation, which resulted in the new electric trains being stored at Cricklewood depot for nearly a year, awaiting the resolution of the dispute. From early 1983, they had commenced operations on the
Gospel Oak to Barking line at first running in three-car then finally two-car formations from November 1983 with just the two power cars. The units lasted in service on this line until eventually being withdrawn in March 1984. The units were then stored at
Carlisle depot pending reuse, preservation or scrapping. Subsequently, many trailer vehicles saw further use in combination with
Class 116 units, based at
Tyseley depot in
Birmingham. These lasted until October 1993. ==Rebuilding==