Kane Williamson and Henry Nicholls combined to give New Zealand a surely pivotal 198-run lead over Pakistan after Yasir Shah's record-breaking turn on the fourth day of the third Test.
The Black Caps began the day on 26-2, trailing Pakistan by 48 runs, but they came through an action-packed first session on Thursday to close on 272-4 and keep their hopes of a series win alive in the decisive final match.
History was made in a frantic morning as Yasir (2-107) brought up his 200th Test wicket in record time - 33 matches - bowling to William Somerville, seemingly leaving New Zealand deep in trouble.
But Pakistan's progress slowed with a spate of frustrating reviews and Williamson (139 not out) and Nicholls (90 no) battled through to lunch before kicking on in Abu Dhabi.
Even with that sublime unbeaten partnership of 212, there remains plenty of work for New Zealand to do to win on the final day, as all 10 Pakistan wickets must fall, but what appeared a probable defeat now looks to have been averted.
Yasir Shah becomes the fastest to 200 Test wickets.— ICC (@ICC) December 6, 2018
He traps nightwatchman Somerville in front and reaches the landmark in just his 33rd Test!
Congratulations!#PAKvNZ LIVE https://t.co/cS8PI6iRJl pic.twitter.com/mdtFVLaqOZ
Yasir made his breakthrough early as he removed Somerville (4) lbw, reaching the landmark double-century of Test wickets in three matches fewer than previous record-holder Clarrie Grimmett.
And even the arrival of the destructive Ross Taylor (22) could not initially wrestle back control from Pakistan as the big-hitting batsman fell into a trap set by Shaheen Afridi, picking out Bilal Asif at deep square leg.
That brought Williamson and Nicholls together and New Zealand belatedly showed some resilience.
Nicholls clung to his wicket in spectacular fashion, surviving one review as he appeared to have edged behind, dodging another that would have seen him out lbw to Yasir and then using one of his own to escape once more.
That nervy start gave way to some more assured batting and the tone was set for the rest of the day. Pakistan struggled to get to grips with an effective partnership and Williamson drove a pair of fours off Hasan Ali to bring up his century.
A brilliant 19th Test century for Kane Williamson.— BLACKCAPS (@BLACKCAPS) December 6, 2018
154 balls with 12 boundaries. The NZ captain & Henry Nicholls (51*) have the lead out past 120 with six wickets in hand on day 4 of the deciding Test #PAKvNZ pic.twitter.com/NYQ4nixMCG
A couple of tough Yasir drops ensured the Black Caps had complete control by tea, although some smart fielding subsequently kept the scoring down for a time before a new ball became available.
However, Sarfraz Ahmed bizarrely opted not to take the ball and instead watched his bowlers spend the last hour toiling in front of the determined batsmen.
|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|
|Robertson hails Alisson´s ´unbelievable´ save as Liverpool progress|
|Red Star Belgrade 1 Paris Saint-Germain 4: Neymar brilliance helps secure Group C top spot|
|Inter 1 PSV 1: Icardi header not enough for the Nerazzurri|
|Liverpool 1 Napoli 0: Superb Salah sends Reds through|
|Club Brugge 0 Atletico Madrid 0: Simeone´s men miss out on top spot|
|Barcelona 1 Tottenham 1: Lucas rescues Spurs late on to secure progress|
|Monaco 0 Borussia Dortmund 2: Guerreiro double snatches top spot from Atletico|
|Butler´s groin strain ´nothing significant´ – 76ers coach Brown|
|Woakes, Curran among leading lights at IPL auction|
|Blue Jays release five-time All-Star Tulowitzki|
|Mourinho: Professionals care more than the fans|
|Casillas reaches 100 Champions League wins|
|Expansion franchise Cincinnati sign Garza, send Kamara to Rapids|
|Manchester City sign United States goalkeeper Steffen for reported £7m|
|Schalke 1 Lokomotiv Moscow 0: Russians miss chance for Europa League reprieve|
|Galatasaray 2 Porto 3: Terim´s men into Europa League after penalty drama|
|Jackman leaves Dragons role|
|Tottenham boosted as Barcelona bench Messi|
|Mane and Henderson in Liverpool XI to face Napoli|
|Mourinho shoots down question over how to get the best from Pogba|
|Ronaldo to start as Allegri aims to avoid Champions League big guns|
|Odriozola: I´m in love with Benzema, he´s the best number nine in the world|
|Vikings fire OC DeFilippo after loss to Seahawks|
|Marcelino suggests Valencia open to Batshuayi departure|
|Bottas to make rally debut in title-winning M-Sport Ford Fiesta|
|Kovac dismisses Pavard speculation|
|Yaya Toure leaves Olympiacos after just five appearances|
|Riise challenges Liverpool to banish Champions League disappointment against Napoli|
|We rallied around it - Durant on Green confrontation aftermath|
|Valencia ´p****d off´ with Fellaini´s controversial Young Boys winner - Soler|
|More must be done to combat racism at Premier League grounds – Chalobah|
|Napoli will not sack ´big signing´ Ancelotti if they miss Champions League qualification, says De La|
|Guardiola not interested in ´exceptional´ Saul|
|Shai gives Windies hope with thrilling ODI run chase|
|Ten Hag unsure whether to risk Ajax stars against Bayern|
|Erasmus to work with Bulls as Springboks assist Super Rugby sides|
|Paul Gascoigne pleads not guilty to sexual assault|
|Joshua is ´begging´ for unification fight, claims Wilder|
|Silva, Fernandinho add to Guardiola´s injury woes|
|Hosszu storms to 14th gold, Seto smashes Le Clos´ world record|
|Raheem is an incredible human being - Guardiola rallies behind City star Sterling|
|Sexton pens IRFU extension until 2021|
|Ajax boss Ten Hag can do big things, says Bayern chief Rummenigge|
|He´s good at basketball – Kerr running out of superlatives for Curry|
|Green thrilled to make Warriors return in victory over Timberwolves|
|Madrid squad great and humble - Solari responds to Ronaldo|
|Langer unsure what to expect from Perth wicket|
|Fournette subjected to alleged racial abuse in Titans loss - Marrone|
|Better and better - Mbappe hails Neymar link|
|It´s the end of one of the best movies you could ever see - James pays tribute to retiring Wade|
|NASA invites Curry to see moon rocks|
|No plan B for LaLiga Miami game after Barcelona withdrawal|
|Messi´s English haul, Neymar eyes hat-trick record - Champions League in Opta numbers|