Barney Curley, the veteran Newmarket-based trainer, will not renew his training licence at the end of the month.
Seventy-three-year-old retires from a career in which his skirmishes with the bookmakers and dramatic gambles became the stuff of legend.
His audacious gambles on Yellow Sam at Bellewtown in 1975 and a more recent coup in May 2010 netted the fedora-wearing gambler both considerable riches and column inches.
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 them away, 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."