The St Leger Stakes was first held in 1776, making it the oldest of the UK classics.