Caravaggio got back on the winning trail after swooping late in the Derrinstown Stud Flying Five Stakes at the Curragh.
Aidan O'Brien's colt looked a superstar in the making after extending his unbeaten record to six in the Commonwealth Cup at Royal Ascot, but was only fourth in the July Cup at Newmarket and disappointed again in the Prix Maurice de Gheest at Deauville.
Dropping back in distance and class for this five-furlong Group Two, Caravaggio was the odds-on favourite in the hands of Ryan Moore.
It was not completely plain sailing for the three-year-old, with Moore at work some way from the finish, but the further Caravaggio went, the better he looked and he was well on top of stablemate and 50-1 shot Alphabet at the line.
Son Of Rest was third.
O'Brien said: "I'm delighted. We wanted to come back here and get the confidence back. He did everything perfect and Ryan gave him a lovely ride.
"The lads had him lovely and settled at home in the stalls and were very happy with him. We're delighted to have him back. We think he's a great horse. He's relaxed, he quickens, he travels.
"He has a big engine and for a sprinter he's 100 per cent clean-winded. He's very easy to get fit and he's a great mover. He has a big heart and lungs I'd say.
"We put the wrong shoes on him the last day and he had no traction in Deauville. He just kept swapping and changing and he just never got into any kind of a gear. It was like driving a car with the clutch slipping.
"We were a little bit worried as he came back very sore after the last time and when they come back sore, you are always worried the next time.
"I was delighted that he did that and he behaved great. It was a very good performance in heavy ground.
"He has all the options. He obviously has the sprint in Ascot and also America. We were talking about Australia earlier in the year, but it might be too much as we had to do a little bit with him the last two weeks to get him here and get everything working.
"We'll see, but the lads will decide that themselves."