Jonjo O'Neill, who was secured his first Gold Cup as a trainer, said: "AP was brilliant on him, he knows him so well.
"Our big worry was keeping him in the race as, if he makes mistakes, he gets behind.
"A lot of work has gone into him at home so was a great team effort from the yard.
"He only came right in last 10 days or so and we weren't really confident.
"He flowered in the last few days and it was spot-on timing."
More top news
Rain across much of the remainder of the country
Singer knocks Oasis from their 18-year hold on the top spot as her third album sells more than 800,000 copies in its first week of release
Francois Hollande has urged British MPs to support David Cameron's plan to launch airstrikes against so-called Islamic State in Syria.