Richard Fahey was out of luck with the well-fancied Alben Star in the feature Great St Wilfrid Handicap at Ripon but still managed to chalk up a double with Grey Street and El Viento.
The latter got home on the far side to claim the consolation race for the Great St Wilfrid, the William Hill Silver Trophy Handicap.
Tony Hamilton produced the 12-1 shot at the right time to take it up after Damika had set the pace. The 5-2 favourite Prodigality came flying on the near side and was just a short head down at the line, but many lengths clear of those on the same part of the course.
Hamilton said: "I thought I'd won a bit easier. I glanced across and thought I was further than a short head clear. Eddie Ahern rode him in the Stewards' Cup consolation race at Goodwood and said he was unlucky, so coming here I was quite confident."
Jimmy Quinn struck on his only mount at the North Yorkshire track when springing a 25-1 surprise on Fahey's Grey Street in the From Epsom To Ripon All Done Maiden Auction Stakes.
The Richard Hannon-trained Pearl Acclaim (3-1) was a tidy two-and-a-quarter-length winner of the Ripon Horn Blower Conditions Stakes in the hands of Harry Bentley.
The jockey told At The Races: "He put the race to bed very well. He didn't enjoy the track too much, it was too undulating for him, but he's won it on class. He is a nice horse and hopefully he can go on to better things."
The Tim Easterby-trained Mirrored (7-1) collared long-time leader Vito Volterra at the furlong pole before storming four lengths clear for Duran Fentiman in the VW Van Centre (West Yorkshire) Handicap.
The Mark Johnston-trained Hyperlink (13-2) responded gamely to Irish jockey Fran Berry's urgings to hold Maybeagrey in the concluding SIS Live Handicap.