The British RailClass 87 is a type of electric locomotive built from 1973 to 1975 by British Rail Engineering Limited (BREL). 36 of these locomotives were built to work passenger services over the West Coast Main Line (WCML). They were the flagships of British Rail's electric locomotive fleet until the late 1980s, when the Class 90s started to come onstream. The privatisation of British Rail saw all but one of the fleet transferred to Virgin Trains; they continued their duties until the advent of the new Pendolino trains, when they were transferred to other operators or withdrawn. The last Class 87 in UK mainline use was withdrawn from service on 31 December2007. Most have now been sold for reuse in Bulgaria.