Tom Queally, forever associated with Frankel, took the feature race on Friday night on Majestic Moon at a packed July course at Newmarket.

Queally delivered the John Gallagher trained five-year-old late and held off Mr Win and favourite Buckstay to take the David Holliday Memorial Handicap.

The gelding was with Richard Fahey and his first run for Gallagher saw him fourth in a listed event.

Although Majestic Moon’s form looked inconsistent, Gallagher defended his 10/1 winner.

“This is probably the weakest race he’s been in since I’ve had him. He’s done well in better company so I’m not overly surprised by this,” he said.

Queally liked the way the gelding performed. “He’s done it well. He’s a bit quirky but was certainly good enough,” he added.

Frankie Dettori, fresh from Royal Ascot heroics with his 50th and 51st wins at the meeting, produced a terrific display on trainer John Gosden’s Next Approach.

The odds-on favourite led from the start of the 10-furlong maiden and never saw another rival. When the other five runners closed, Dettori kicked again and stormed clear to win effortlessly to follow up an encouraging third-placed debut.

Trainer Hugh Morrison had a good win with three-year-old Dutch Law hours after landing the Duke of Edinburgh Stakes at Royal Ascot.

The minor handicap may have been light years away from the Royal meeting but Morrison’s charge, under Martin Harley, looked useful.

Harley had Dutch Law buried in the pack but when it mattered delivered the gelding to win well.

The winner was returned at 11/2, with Spirited Acclaim and Anastazia filling the minor placings.

Paul Hanagan’s dash from Ascot also paid off, storming home in the six-furlong maiden on favourite Elronaq. Trained by Charlie Hills, Elronaq was second on debut at Haydock and destroyed the field with an impressive display which left the jockey delighted.

The victory was never in doubt, Hanagan well clear of Edification and outsider Easter Mate.

A drop back in trip proved crucial to Peace Prize who landed the 10-furlong handicap under Harry Bentley at 8/1.

“They went a good gallop and that helped. Dropping back in trip was the thing though. He’s gone on again when he’s met the rising ground. He’s done it well,” said Bentley.

Trainer Hugo Palmer was at Ascot and missed the win by the three-year-old gelding who had won at Nottingham before disappointing over further at Windsor. Polarisation took second with long-time leader Soluble, the 10/3 favourite, third.

Kieran Shoemark, one of the most experienced apprentices in the line-up, won the opener on Lu’s Buddy, his first victory in nine attempts.

Trained by Amanda Perrett, Lu’s Buddy took it up in the final 100 yards to win from Saint Pois.

The finale, a five-furlong sprint handicap, went to George Buckell on the David Simcock trained Princess Tansy, the trainer have grabbed his first ever Royal Ascot earlier in the day. The winner, returned at 9/2 improved on her second place a fortnight ago at Lingfield to beat favourite Star Fire and pacesetter Honcho.