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.
|Klopp: I cannot keep every Liverpool player happy|
|Messi and Suarez outscoring Real Madrid and Atletico in LaLiga|
|Levante 0 Barcelona 5: Marvellous Messi banishes ghosts of last season|
|Colts rout Cowboys to keep playoff hopes alive|
|Bears shake off Packers to win NFC North and return to playoffs|
|Mourinho explains Pogba omission and defends Lukaku´s Liverpool showing|
|Liverpool´s display against Manchester United one of the best, claims Klopp|
|Look away Jose! Damning stats expose Manchester United´s limp Liverpool loss|
|Time´s up, Mourinho: Manchester United can dither no longer|
|Manchester United´s players are not dishonest – Mourinho|
|Manchester United´s lack of ambition under Mourinho is scary – Keane|
|Mourinho: All Manchester United can achieve is fourth|
|Quagliarella should be protected by UNESCO, jokes Sampdoria coach|
|Manchester United surpass last season´s goals-against tally in first 17 games|
|Hasenhuttl revels in ´unbelievable´ victory over Arsenal|
|Liverpool 3 Manchester United 1: Shaqiri´s late show bails out Alisson as Reds return to the top|
|Edinburgh in control in Champions Cup, Racing win again|
|Emery ponders January signing after Bellerin injury|
|It is only a knock – Sarri plays down Hazard injury fears|
|Redskins QB Alex Smith released from hospital|
|Starc: If I listen to Warne, I may as well retire|
|Curry interviews retired NASA astronaut, apologises for moon comments|
|Hazard refusing to give up on Premier League title hopes|
|Ziyech & Blind score hat-tricks as Ajax claim 8-0 win|
|Canelo v Fielding: What next for three-weight champion Alvarez?|
|Southampton 3 Arsenal 2: Austin and Ings end Gunners´ long unbeaten run|
|Brighton and Hove Albion 1 Chelsea 2: Sensational Hazard proves the difference|
|Pogba on the bench as Clyne starts for Liverpool|
|Lipsky ends long barren spell in Malelane|
|Lakers´ Stephenson to repeat air guitar despite technical|
|Fletcher pushed Miller on to Broncos sack record|
|The Sarri effect: Hazard surpasses 2017-18 goal involvements in just 16 games|
|Van der Burgh retires on a high note with breaststroke double|
|Rashford: Liverpool was never an option|
|No team Liverpool play this season will be as motivated as Man United – Klopp|
|India surprised by contentious Kohli decision - Bumrah|
|The Sunday Seven - 7 Key Opta facts for NFL Week 15|
|Miller eyeing Joshua bout at Madison Square Garden|
|Finch cleared of serious damage after another finger blow|
|Rashford ´untouchable´ because he plays on his limits – Mourinho|
|It´s important to have his mentality - Mayfield thrilled with Kobe Bryant visit as Browns beat Bronc|
|Centurion Latham indebted to ´world-class´ Williamson|
|Spurs´ Dier out until January after appendix removal|
|A-League Review: Glory down Jets to stay unbeaten|
|Philander ruled out of first Test|
|Controversial Kohli dismissal puts Australia in command|
|Thunder´s Westbrook: ´When we defend like that — best team in the league´|
|Kante at his best further forward, reiterates Sarri|
|Rose capitulates in Indonesia to squander chance to top rankings|
|Fielding: The better man won but I lived a dream|
|Rallying Bulls stun Spurs, LeBron and Ball post triple-doubles|
|Latham century puts New Zealand in commanding position|
|Mayfield leads Browns past Broncos|
|Canelo-GGG trilogy? We can make it happen – Alvarez|
|Canelo outclasses Fielding by third-round TKO|
|Farmer retains title prior to Canelo-Fielding bout|
|Qatar unveils Lusail Stadium for 2022 World Cup|
|Lakers pair LeBron, Ball revel in triple-double feat|
|Allegri hails ´great professional´ Ronaldo|
|LeBron, Ball first Lakers team-mates with triple-doubles in same game since 1982|
|Premier League contenders Liverpool ready to win titles – Henderson|
|Hopkins´ two TDs help Texans close in on AFC South title with win over Jets|
|Courtois: Simeone criticises Real Madrid to boost popularity|
|Mourinho in the dark over transfers as Pogba rumours swirl again|
|Mourinho marvels at Salah going nuclear|
|The lucky ones - Mourinho assesses Liverpool´s title charge|
|Juventus boss Allegri turned his back on Ronaldo penalty|
|Dickerson hoping Barkley falls short of breaking his records|
|Bristol shock La Rochelle, Clermont win again|
|LeBron: Meeting Jordan for first time was godly|