Pakistan captain Misbah-ul-Haq dedicated the stunning third-Test victory over Sri Lanka to departing coach Dav Whatmore.
Misbah hit an unbeaten 68 in 72 balls while Azhar Ali made a superb century as Pakistan successfully chased 302 in two sessions to win the match and draw the series 1-1.
It ensured Whatmore's tenure ended on a high, with the series in the United Arab Emirates marking his farewell after his contract was not renewed.
"This is my best moment as captain," Misbah said at the post-match presentation.
"We really wanted to win, especially for Dav. We wanted to win it for him and level the series.
"We really enjoyed being with him for these two years. We love you and we wish you all success."
Sarfraz Ahmed's promotion to number five was a sign of Pakistan's determination to pursue the testing target, and the wicketkeeper hit 48 from 46 balls before Azhar - who was dismissed late on - and Misbah secured victory.
"Even with this 300 target, we knew we could go for it and get the win," said Misbah.
"Great knock by Azhar. It's a great moment and it gives great confidence to the team for more success in the future."
Azhar added: "The message was clear from the management (to go for it) and when I went in I just played my game.
"I wanted to play positively and I did that. It is the most valued innings in my career."
The chase was Pakistan's second-highest in Tests and, with a run rate of 5.25, the second-quickest chase of over 200. Both records date from 1994, when they made 315 for nine to beat Australia in Karachi while England scored 205 for two in 35.3 overs, or 5.77 per over, to beat South Africa at the Oval.
Sri Lanka skipper Angelo Mathews blamed the result on their collapse from 133 for five overnight to 214, the last five wickets falling for 25 runs.
Mathews said: "They were desperate to win because they were 1-0 down so we held on. We did that well for the first three and a half days, but our batting failed.
"I can't blame the spinners, it was more our batters' fault."
Slow left-armer Rangana Herath went wicketless in the second innings and conceded 100 runs, having taken five for 125 in the first. Off-spinner Dilruwan Perera was not used after his 17 overs in the first innings yielded one for 71.