Tony McCoy made a triumphant one-off return to the saddle with victory aboard Gannicus in the Clipper Logistics Leger Legends Classified Stakes at Doncaster.
The 20-times champion jump jockey, who retired in April, delighted his legion of supporters by producing a fairytale result.
McCoy had been persuaded by Jack Berry to take part in the straight-mile contest in aid of the Northern Racing College and the Injured Jockeys Fund's Jack Berry House.
The legendary rider gave racing the best possible ending to the story as he steered Gannicus (7-2 favourite), trained by former jump jockey Brendan Powell, home in front.
McCoy had his mount tucked away in the early stages before making his move at halfway and taking the lead two furlongs out.
Having grabbed the stands' side rail, McCoy kept Gannicus up to his work and the four-year-old galloped all the way to the line to score by two lengths from Next Stop (16-1), partnered by Classic-winning rider Billy Newnes.
Big Storm Coming (20-1) was a head away in third in the hands of former jump jockey now racing presenter Luke Harvey.