I would say the longest service is the Chipmunk DHC-1 ( T10 in RAF speak.)
Entered RAF service in 1952 and is still serving on the BBMF as a conversion trainer come runaround hack in 2022. 65 years and counting...
https://www.memorialflightclub.com/b...5th-birthdays/