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
After a most unusual trial in Brooklyn, jurors now must decide whether Abid Naseer plotted to blow up a Manchester shopping centre.
McLaren confirm that Fernando Alonso will not compete in the Australian GP on advice from doctors due to his recent crash
A "lethal mix" of poor clinical care and relationships between doctors and midwives led to the deaths of 11 babies and one mother.