James Doyle lit up Ayr with a glorious 769-1 treble capped with an emphatic victory in the William Hill Ayr Gold Cup on Louis The Pious.
Results throughout the three-day fixture had shown a definite bias on the stands-side rail in sprint races and Doyle was the one to benefit in both the Gold and Silver Cups.
The young rider was out on luck on Abseil, his only mount on the card for his main retainer, Khalid Abdullah, but demonstrated his ability with a cracking trio of victories.
In Louis The Pious he had the perfect partner in the feature Ayr Gold Cup.
Second in this race 12 months ago and a winner at Royal Ascot this summer, the David O'Meara-trained six-year-old went one better in some style.
Doyle bided his time on the heels of the leaders in the early stages as Racy and An Saighdiur took the big field along before grabbing the favoured rail to lead inside the final furlong and putting the race to bed within a matter of strides.
The 10-1 shot routed the opposition by two and three-quarter lengths, with Minalisa (33-1) running a tremendous race on the far side to finish second.
Back on the near side, Blaine (7-1 favourite) was a head away in third, with Heaven's Guest (12-1) fourth.
Doyle said: "It was a golden highway up that rail, but I can't take any credit.
"David and his team have done a fantastic job with this lad.
"In the end, I've probably won by a bit too far.
"These races are pretty valuable and it's an important part of the season to win a few of these.
"It's a dream come true."
O'Meara, who had his first Group One winner two weeks ago with G Force in the Betfred Sprint Cup, said: "He was drawn well again this year and he is a good horse.
"We put the visor on him because Fran Berry rode him the last day at Ascot and thought it might just help him a little bit, and he was right.
"He's a horse with a lot of ability. Sometimes he can run an indifferent kind of race but on his day he's very good, as we saw at Royal Ascot.
"These big-field handicaps bring the best out of him."
Louis The Pious was also continuing a fantastic season for his owner Frank Gillespie, whose colours were carried to glory with last week's Irish Champion Stakes winner The Grey Gatsby.
O'Meara put the seal on another fine afternoon when the Danny Tudhope-ridden Earth Drummer easily justified 7-2 favouritism in the Microtech Support Handicap.
Doyle earlier brought Huntsmans Close (9-1) down the stands side to run out a clear-cut winner of the William Hill Ayr Silver Cup.
The jockey had Roger Charlton's four-year-old hard on the heels of the pacesetting Bogart and Inxile from stall 27.
Leading a furlong out, Huntsmans Close won by a length from Mehdi, who was drawn 26, with Bogart third from stall 25 to complete a clean sweep for high numbers.
Doyle said: "The draw simplified things for us. Bogart is quick and I knew he'd be the horse to take me into it.
"Roger had him in great nick and he didn't turn a hair."
Doyle's spree began on Power Play (6-1), who forced the issue close home to land the QTS Nursery Handicap.
The Richard Hannon-trained youngster responded to his rider's urgings and got on top to deny Sir Chauvelin by half a length.
The stands rail also proved decisive for Dark Reckoning (25-1), who nipped through to snatch the Group Three spoils in the William Hill Firth of Clyde Stakes.
Graham Lee managed to get Ann Duffield's filly in the clear just in time to force Dark Reckoning home by a short head from the Doyle-partnered Parsley.
"This race has been lucky for me. We won it two years ago with Melody Of Love," said Duffield.
"This filly's done nothing wrong and I'm glad she's justified our faith and has managed to win a Group race."
Lee made it a double when steering Sky Hunter (9-4 favourite) to victory in the William Hill 80th Anniversary Book Launch Doonside Cup.
Saeed bin Suroor's four-year-old came out on top by two lengths after a protracted duel with Sennockian Star.
Lee, who was replacing the ill Kieren Fallon, said: "He jumped good and I just tried to keep it simple.
"It should go a long way to restoring this guy's confidence."
Karl Burke and owners, the Ontoawinner syndicate, won the Mill Reef at Newbury with Toocoolforschool and were also on the mark at Ayr when Ticking Katie (10-1) delivered the goods in the William Hill Ayrshire Handicap.
Buthelezi (11-4) then sent favourite-backers home happy with a game defeat of Thorntoun Care in the Jordan Electrics Ltd Handicap.