Pakistan suffered a dramatic collapse in the first Test with New Zealand as debutant Ajaz Patel took the clinching wicket that gave Gary Stead victory in his maiden five-day game as coach.
The designated hosts appeared in complete command in Abu Dhabi as they chased a target of 176, Azhar Ali (65) and Asad Shafiq (45) steering them to 130-3.
However, New Zealand's attack, led by the outstanding Patel (5-59) produced an unbelievable turnaround, Pakistan losing their final seven wickets for just 41 runs and falling five shy of victory in an agonising defeat.
A nervy finish saw Mohammad Abbas survive a review after a huge appeal for caught behind from New Zealand but, after being denied what he thought was the final wicket, Patel delivered the goods to trap Azhar in front, the decision held up on review to spark jubilant scenes among the tourists.
New Zealand take a 1-0 lead in the three-match series but that prospect could hardly have looked more unlikely in the morning session as Pakistan recovered from losing the wickets of Imam-ul-Haq, Mohammad Hafeez and Haris Sohail in the space of eight balls.
Azhar and Shafiq guided Pakistan into a position of apparent complete command and, though the latter fell to Neil Wagner before lunch, what followed after the interval could scarcely have been believed.
A mix-up between Azhar and Babar Azam (13) brought about the fifth wicket through a run-out and Pakistan's lower order crumbled in short order, Sarfraz Ahmed and Bilal Asif joining Patel's list of victims, while Yasir Shah nicked Wagner to wide slip to leave Azhar and Abbas as the last line of resistance.
It looked as if they would hold firm after a review proved Abbas had not edged behind to BJ Watling and Pakistan inched to within a maximum of victory.
Yet Patel would not be denied and produced a superb delivery that pitched just in line and struck Azhar high on the pad, the review upholding the decision on the field as New Zealand successfully defended their second-lowest target in Tests, leaving
Azhar and the sparse number of Pakistan fans devastated as Stead and his charges celebrated wildly.
The victory, New Zealand's narrowest in the longest format, gives them a chance to clinch a first series win over Pakistan on foreign soil since 1969-70 in the second Test in Dubai, which starts on Saturday.
|Solari accepts responsibility for Madrid´s heaviest home defeat in Europe|
|WATCH: Rooney backs Rocky ahead of Canelo showdown|
|McLaren to collaborate with Team Bahrain Merida|
|Las Vegas to host 2020 NFL Draft|
|Stade teenager tragically dies after neck injury|
|Cahill may need to leave Chelsea if he wants to play, admits Sarri|
|Viktoria Plzen 2 Roma 1: Chory winner takes hosts into Europa League|
|Real Madrid 0 CSKA Moscow 3: Champions humiliated at Bernabeu|
|Sarri condemns ´disgusting´ Sterling abuse|
|Hansen hails outstanding Ben Smith ahead of Pau switch|
|Foden, Sterling start for Manchester City v Hoffenheim|
|Sky decision will not affect us in 2019, insist Froome and Thomas|
|Al Ain 3 Team Wellington 3 (aet, 4-3 on penalties): Shootout heartbreak for semi-pros in Club World|
|Jackson to remain Ravens´ starting QB despite Flacco return|
|Rams headline 2019 NFL International Series home teams|
|Rams headline International Series home teams for 2019|
|Atlanta want ´exciting football´ from new boss amid Bielsa links|
|Atlanta still yet to receive ´serious´ bid for ´Bale-like´ Almiron|
|Tottenham v Manchester United to be held at Wembley|
|Matip facing six weeks out with fractured collarbone|
|I´ve had quite a lot of calls – Brailsford encouraged by Team Sky interest|
|Afghanistan Football Federation president provisionally banned by FIFA|
|Knee injury rules Huddersfield´s Mooy out of Asian Cup|
|Arnautovic tipped for Man United move by Austria team-mate Sabitzer|
|Arsenal legend Adams to become RFL president|
|My love for football still burns strong – Toure speaks out amid talk of Premier League return|
|Noble contract extended to 2021|
|Split with Sky is an opportunity, says Brailsford|
|Van der Burgh rolls back the years, two more medals for Hosszu|
|Maitland-Niles praises Sterling for speaking out|
|Life is tough for him right now - Celtic striker Griffiths to take time away from football|
|Froome: Team Sky keen to continue with new partner|
|Emery confirms Koscielny to play against Qarabag|
|Llorente keen on Athletic return|
|I love the guy - Pocock backs under-pressure Cheika|
|Fit-again Ozil in line for Arsenal return against Qarabag|
|Raheem Sterling named Premier League Player of the Month|
|Two more Ligue 1 games postponed due to unrest|
|Pace attack among India´s best ever - Arun|
|Premier League has fostered ´excessive aggression´ among fans, says Scudamore|
|Sharks back Flanagan amid NRL investigation|
|Not good for my recovery! Hoddle delights in Spurs´ Champions League heroics|
|Harris backing Starc to fire in Perth|
|No fears over Atleti´s second-place finish for Simeone|
|Clippers buckled under Raptors pressure - Rivers|
|Icardi: Inter deserved to qualify|
|Team Sky future unclear as Sky opt to end involvement in cycling|
|PSG had to change mentality - Thiago Silva|
|Rockets make change, pick up win over Trail Blazers|
|Everything´s easier when you´ve got Messi – Miranda|
|From George Cross to Arsenal – Montemurro´s rise to make Gunners great again|
|Koulibaly challenges Napoli to win Europa League|
|Raptors star Leonard out against Clippers, may miss matchup with Warriors|
|Butler opens up about heated Timberwolves practice|
|Spurs achieved ´mission impossible´, says Pochettino|
|Dembele stunner pleases Barca boss Valverde|
|Van Dijk lauds ´fantastic´ Alisson|
|Van Dijk´s tackle on Mertens worthy of red card – Ancelotti|
|Klopp ´would have paid double´ for Alisson|
|Klopp: I don´t care about Madrid revenge mission|
|Tension and anxiety got to Inter, laments Spalletti|
|Tuchel hails magnificent PSG as Red Star win seals last-16 spot|
|Mbappe admits frank discussions inspired PSG´s Champions League progress|
|Klopp: Napoli had no answers to outstanding Liverpool|
|Pochettino proud of ´massive, massive achievement´ for Spurs|
|Barcelona equal Champions League record|
|Composed and controlled Liverpool see off Napoli to progress|
|Tenerife back to winning ways, AEK beat Hapoel|
|Howedes ´hurt´ after emotional Schalke return ends in defeat|
|Kane ´buzzing´ over ´not bad´ draw at Barcelona|