Treble for owners Godolphin at Royal Ascot day 1

James Doyle rides Barney Roy to victory in the St James's Palace Stakes at Royal Ascot. Mike Hewitt/Getty Images

Barney Roy sprung a surprise on day one at Royal Ascot by winning the St James's Palace Stakes, with favourite Churchill only finishing in fourth.

In a course record, the Richard Hannon-trained horse beat out Lancaster Bomber for the victory, while stablemate Thunder Snow took third.

It capped an excellent day for owners Godolphin, who also had Ribchester win the Queen Anne Stakes while Sound And Silence took the Windsor Castle Stakes on the 40th anniversary of Sheikh Mohammed's first winner as an owner.

Barney Roy was ridden by James Doyle, who had previously been the subject of complaint from another Godolphin trainer, Saeed bin Suroor, who was upset that the jockey had been imposed on him.

Doyle celebrated with a finger to his lips as he crossed the line but said afterwards: "It's been an up-and-down season and, when I knew I'd got the ride on this fellow, I was pretty excited."

11-10 favourite Ribchester opened proceedings by winning the Queen Anne Stakes by one-and-a-quarter lengths from Mutakayvef, with Deauville in third.

"He has to be the best horse I have ever trained," said trainer Richard Fahey. "He broke the track record here today and that's not being disrespectful to the others, but he is just exceptional."

It was the first of two winners for jockey William Buick, who also closed out the day on Sound And Silence on a 16-1 shot.

Meanwhile, Lady Aurelia won King's Stand Stakes by three lengths from Profitable, with jockey John Velazquez having stepped in at the last minute for Frankie Dettori due to injury.

The filly, who won last year's Queen Mary Stakes, prompted trainer Wesley Ward to say: "Lady Aurelia is very special. To win like this, to duplicate what she did last year - a once-in-a-lifetime horse."

The Coventry Stakes were won by 11-1 shot Rajasinghe, ridden by Stevie Donohue and trained by Richard Spencer, while Ryan Moore rode Thomas Hobson to victory in the Ascot Stakes.