Barney Curley, the veteran Newmarket-based trainer, will not renew his training licence at the end of the month.
Seventy-three-year-old Curley retires from a career in which his skirmishes with the bookmakers and dramatic gambles became the stuff of legend.
Northern Ireland-born Curley will now hope to dedicate more time to his charity, Direct Aid For Africa, which he founded in 1996.
He said: "I've only got the one horse left now, and my assistant, Andrew Stringer, has got a good position with James Tate (trainer).
"I've sold most of my horses and have given some of the way, so that's just about that - I won't be renewing my licence.
"I have enjoyed racing and have gained a lot from the sport.
"Without racing, I would not have had the staff like I have had.
"I'm quite happy this was the right time.
"I retire sound in mind and still in pocket."
18 June 2013Stevens is king of the Castle
O'Neill ace proves too sharp
Ballydoyle in command in Coventry
Dawn delivers in thriller
Sole powers to sprint glory
Al Thani snaps up Sandiva
O'Brien sounds War cry
Minute's silence remembers Cecil
Duntle on Cambridge duty
Alive and Just in Ribblesdale mix
Passage heads Gold field
Deegan considers Soprano options
Toro out for Palace glory
Cecil's words not lost on Ponsonby
Dawn out for Palace redemption
Hawkwood supplemented for Hardwicke
Flotilla To Drop Back In Trip
Cecil's Chigun in Cambridge action
Al Kazeem and Camelot clash again
De Kock hoping to make history
War ready for Royal Ascot battle
Kingdom set to reign over Ascot
17 June 2013Magician set for Palace showdown
Cat clings on for Carroll
Three more winners for Lady Cecil
Monaghan delivers on Midnight
Treve in stunning Diane win
Sapphire target for Trees
Beckett mulls Secret options
Nicholls has broken wrist
16 June 2013Songbird aiming to fly high
Movie has Newmarket on radar
Fahey juveniles primed for action
Stubbs leads O'Brien Coventry team
Salsify on summer break
Kempton target for Benbulben
Top trio head Palace runners
Shea Shea shoots for Stand glory
Animal heads Queen Anne field
Saint-Cloud aim for Dunaden
Magician to be declared for Palace
Soul all heart in York sprint
Kingsgate rules Musselburgh
Sam too sharp for rivals
Hughes makes it pay with Knight
Balding on mark with double
Morawij in a hurry in Scurry
Bartley is queen for a day
Big guns to clash in Coronation
15 June 2013Marengo set for battle royal
Saddler's ready to rock - Oxx
Soprano primed to hit right notes
Balding receives OBE
Victory on a plate for Montaser
Magician run in the balance
Secret set to make Ascot stand
Probert return delayed
Nagle covers Maarek options
Ribblesdale chance for Lark
Walker hoping Guns will fire
Estimate in Royal Gold run