Trained by Charlie Hills, the 25-1 shot was sharply out of the stalls for William Buick, who was happy to let him roll along in front, building up a healthy advantage by the end of the first furlong.
While that cushion was being cut down in the closing stages, eventual second Encrypted never looked like catching A Momentofmadness, who responded to Buick to come home three-quarters of a length clear.
Wentworth Falls stayed on for third with Dakota Gold fourth.
Hills said: “William gave him a great ride. He showed some speed from the gates – I think he nicked a couple of lengths and it was always going to be hard to peg him back.
“He seemed to be in front for a long time, but you don’t want to disappoint him. He’s come down a couple of pounds and that has obviously helped.”
He added: “There’s a race at Ascot we might look at, but we’ll see how he comes out of the race.”
Select any odd to add a bet