Skater Yasir Shah ruined New Zealand with the best eight-game run of his career when Pakistan claimed victory on the third day of the second test in Dubai on Monday.
The 32-year-old got 8-41 in 12.3, which wiped out New Zealand to 90 in just 35.3, before taking two more innings when New Zealand (after that) were 131-2 at closing in their second innings .
Yasir dismissed starter Jeet Raval for two before realizing that New Zealand captain Kane Williamson was caught by 30 to complete his third 10-goal drive.
Tom Latham (44) and Ross Taylor (49) were at the high point as New Zealand needs another 197 runs to avoid a loss in the innings, while Pakistan can level the series by taking another eight fields with two days to play.
New Zealand won the first test in Abu Dhabi for four races last week to win a 1-0 lead in the three-game series.
Taylor has reached six limits and six in his innings back to form, while Latham has reached three limits, while the two have added 65 for the third uninterrupted wicket to face the players of Pakistan.
But the day belonged to Yasir, who shook New Zealand in the first innings.
He also became the first Pakistani to take 10 windows in a single day, ninth in the world, with England's left-arm spinner, Johnny Briggs, doing it twice.
"When I was hitting the ground, I was thinking that I should get 10 windows in the game, but I never thought it would come in a single day," Yasir said.
"I came from an injury and did not get the necessary pace against Australia (last month), but now I am getting it and I am very happy to achieve this feat," Yasir said.
The rain had delayed the start of the third day by an hour, but when the action started, Yasir was relaxing, throwing himself to his best ability in a turning field at the Dubai stadium.
Yasir fired Latham (22), Taylor (zero) and Henry Nicholls (zero) in his ninth inning, which caused a collapse during which New Zealand lost all of its 10 wickets for only 40 runs after being good at 50 without losses .
Yasir's bowling figures, his 15th five-run race, outscored his previous best 7-76 record against Sri Lanka at Galle in 2015 and also the best against New Zealand.
Intikhab Alam (7-52) held the record for the best bowling game in Pakistan against New Zealand, achieved in Dunedin in 1973.
New Zealand, resuming at 27 without losing, lost to Raval in an unfortunate way when he tried to revert to Yasir, but the ball veered from his bat to his thigh and hit the stumps. Raval scored with 31.
From 50-1 he became 61-2 when Yasir caught Latham in a short leg by Imam-ul-Haq in the first ball of his ninth.
Two balls later he played the experienced Taylor with a beautiful delivery that turned and beat the forward thrust of the batter.
From his fifth ball, Yasir threw Nicholls through the gap between the bat and the pad.
It was Yasir who ran, Bradley and John Watling, who ran out shortly after lunch, before firing Ish Sodhi, Neil Wagner, Ajaz Patel and Trent Boult, all without scoring in the space of nine balls.
Six New Zealand hitters fell without scoring, becoming the fifth time in a Test in which six batters failed to score in one possibility.
Williamson remained unbeaten at 28, watching the jackpots fall like nine pins at the other end.
With Sodhi's gate, Yasir also completed 100 gates in 16 events in the UAE (Dubai, Sharjah and Abu Dhabi).
The third test will be played in Abu Dhabi from December 3.