It marks the end of more than 35 years of service, clocking up 300 million miles in the north of England.