A brave battling run from Pyledriver helped him secure the Coral Coronation Cup and his first Group One victory at Epsom.
Al Aasy headed Martin Dwyer's mount in the final furlong, but Pyledriver (8/1) rallied in determined fashion on the rail to snatch the verdict by a neck for the relatively new training partnership of William Muir and Chris Grassick.
Dwyer made a brave move at halfway when he took the bull by the horns and sent Pyledriver into the lead after Highland Chief had taken them along.
Albaflora tried to put in a challenge, but it was Al Aasy who cruised alongside under Jim Crowley and looked like he could take the leader.
The 7/4 favourite did hit the front but, with the rail to help, Pyledriver regained the initiative in the dying strides, as the first two drew seven lengths clear of Japan in third.
It was a landmark success for Dwyer who has now won all three of Epsom's showpiece events, after the Oaks on Casual Look in 2003 and the Derby on Sir Percy in 2006.