NEW Zealand captain Kane Williamson scored his fourth Test double-century as his side took charge of the second Test against Pakistan.
The number one-ranked Test batsman scored 238 from 364 balls on day three in Christchurch.
Batsman Henry Nicholls and all-rounder Daryl Mitchell also scored centuries as the hosts declared on 659-6.
Pakistan lost opener Shan Masood for a duck as they finished on 8-1 in their second innings, still 354 runs behind.
New Zealand, who won the first Test in Mount Maunganui, will become the number one-ranked Test team if they complete a 2-0 series win.
The Black Caps can also go second in the World Test Championship table with a victory. The top two teams will compete in the final at Lord’s next summer.
Williamson scored 24 boundaries in his knock but rode his luck thanks to some lack-lustre Pakistan fielding.
He was dropped on 82, 107 and 177 as Pakistan’s slip and gully fielders put down chances.
Nicholls was also dropped three times as he scored his seventh Test century with a well-crafted 157, including a record 369-run partnership with Williamson.
It was New Zealand’s highest fourth-wicket stand in Test cricket, and the best at the Hagley Oval ground.
As the Pakistan bowlers tired, Mitchell blasted an unbeaten 102 from 112 balls for his maiden Test ton, including eight boundaries and two sixes.
With 11 overs to face in the fading light, Masood – who had earlier dropped three catches – edged Kyle Jamieson to Tim Southee at slip to leave Pakistan facing an uphill task to take the match to a fifth day. (BBC Sport)
PAKISTAN 1st innings 297
NEW ZEALAND 1st innings o/n 286-3
Tom Latham c Haris Sohail b Shaheen Afridi 33
Tom Blundell lbw Faheem Ashraf 16
Kane Williamson c Shan Masood b Faheem Ashraf 238
Ross Taylor c Shan Masood b Mohammad Abbas 12
Henry Nicholls c Naseem Shah b Mohammad Abbas 157
BJ Watling c Haris Sohail b Shaheen Afridi 7
Daryl Mitchell not out 102
Kyle Jamieson not out 30
Extras: (b-27, lb-8, nb-12,w-17) 64
Total: (six wkts decl., 158.5 overs) 659
Fall of wickets: 1-52, 2-52, 3-71, 4-440, 5-452, 6-585.
Bowling: Shaheen Afridi 35.5-8-101-2 (nb-2), Mohammad Abbas 34-11-98-2 (w-2, nb-1), Naseem Shah 26-2-141-0 (w-4 nb-9), Faheem Ashraf 28-4-106-2 (w-3), Zafar Gohar 32-0-159- 0..
PAKISTAN 2nd innings
Shan Masood c Tim Southee b Kyle Jamieson 0
Abid Ali not out 7
Mohammad Abbas not out 1
Extras: 0
Total: (one wkt, 11.0 overs) 8-1
Fall of wickets: 1-3.
Bowling:Tim Southee 6-5-5-0, Trent Boult 3-2-2-0, Kyle Jamieson 2-1-1-1.