Pakistan's inexplicable Test capitulation against New Zealand was summed up by one of the most embarrassing run-outs seen at the top level of the sport.
Pakistan were strong contenders for the win despite losing the first three wickets as Azhar Ali and Asad Shafiq stabilised proceedings.
Pakistan resumed the day on 37 for no loss, needing 139 runs for a victory to take a 1-0 lead in the three-match series, but suffered two separate batting collapses that resulted in a tense finish at the Sheikh Zayed Stadium.
With 46 runs needed and six wickets in it should still have been a stroll for Pakistan but they lost their last six wickets for 24 runs in a post-lunch period punctuated by a series of loose shots and some rogue running. Except Ish Sodhi, none of New Zealand's late order batsmen demonstrated any resistance to Pakistani bowlers.
Williamson, who now has nine wins in his 18 Tests in charge, described the win as "one of his best". We knew the surface was not an easy one. "It's a fantastic game of cricket to be part of and anyone who watched it here appreciated".
Pakistan recovered after a shaky start in today's first session on day four in Abu Dhabi.
Opener Imam-ul-Haq was trapped leg-before to a full length ball by Patel in the fifth over of the day.
Ajaz Patel became the ninth New Zealander to take five wickets in an innings on debut.
Shafiq and Azhar then took the pressure off by rotating the strike frequently with singles and twos while waiting for the loose deliveries to get boundaries.
Earlier in the first innings, New Zealand scored just 153 runs while in reply, Pakistan put a total of 227 on the board.
"Some of the characteristics we hold very dear is our attitude whenever we had to get back into the game, be it with the bat, ball or in the field throughout these four days", he said. They were closing in on victory when they traded at [1.01] to win the Test.
Ajaz Patel and the rest up the Black Caps will line-up for the second Test in Dubai starting on Saturday.