Wayne Lordan conjured a great late run out of Tannery to collar 11-10 favourite Caponata in the Kilboy Estate Stakes at the Curragh.
The Group Three race appeared at the mercy of Caponata, who went two lengths clear with a furlong to run, but the heavy ground began to take its toll on Dermot Weld's previously unbeaten filly and Lordan sensed his chance.
David Wachman's charge had won over 11 furlongs last time out and her stamina came to the fore as the 5-1 shot won by half a length going away.
Wachman said: "She is a very tough filly and seems to handle any kind of ground. She will go a bit further.
"I'm not sure what happened to her at Leopardstown (fifth there in June). The ground was loose and sloppy and she just didn't pick up .
"She is a very straightforward filly and has a good pedigree. There is a good programme of races here in Ireland for her and she might go for the Blandford Stakes. She could also go for a race in the US in the autumn."
Lordan added: "She is improving and she enjoyed the ground really well. Once stamina came into play, my filly got going and won well at the line."
Nina Carberry claimed her fourth Thalgo Ladies Derby as Richard Brabazon's Placere (7-2) romped clear, while the hugely improved Bubbly Bellini (11-2) landed the valuable Bettor.com Rockingham Handicap for Ado McGuinness in the hands of Ian Brennan.
The trainer said: "He is not an out-and-out sprinter, but the way the ground is he is getting away with the five.
"He was rated 51 just six weeks ago and I'm a bit shocked as I didn't think he was as good as this. He is versatile trip-wise and he will probably go to Galway now for the big seven-furlong handicap. Ian is value for around three or four pounds as he knows him so well."