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
Downing Street has insisted Theresa May has full confidence in Sajid Javid, as a swathe of Tory MPs waded into a row over business rates.
Heterosexual couple Rebecca Steinfeld and Charles Keidan challenged the law and lost - but the ruling shows the matter is far from resolved.
Mild but cloudy