Richard Hughes brought Dank with a well-timed run to lift the Group Three Thoroughbred Breeders' Association Atalanta Stakes at Sandown.
Gathering tried to make all the running in the hands of Buick, but she was caught in the closing stages as 7-2 favourite Dank swooped late for trainer Michael Stoute.
Ladys First, who had beaten Dank at Haydock three weeks earlier, was a neck behind in second and Gathering a length back in third.
Hughes said: "She's a nice filly. I'd have preferred it if they had gone a stride quicker, but she's done well to get there.
"She's in between a mile and a mile and a quarter filly."
Stoute added: "She's a lovely progressive filly and Hughesie gave her a great ride from what I considered to be a horrible draw.
"I'm really happy with her and she's got a great attitude."