Dubai: New Zealand finished the fourth day on 167-6, taking an overall lead of 177, in the second Test against Pakistan in Dubai on Thursday.
Ross Taylor was unbeaten on 77 and with him Mark Craig had yet to score, as New Zealand seek a series-levelling win in the three-match series after losing the first Test by 248 runs in Abu Dhabi.
Zulfiqar Babar has figures of 3-60 while Yasir Shah took 3-65.
New Zealand took a 10-run lead following Pakistan's dismissal for 393 in the first innings.
New Zealand had made 403 in their first knock.
Tim Southee's double strike had reduced Pakistan, who resumed on 281 for six, to 287 for eight in the morning and Trent Boult dismissed Zulfiqar Babar to deal another blow to Pakistan.
Sarfraz Ahmed scored 112 and added 81 runs for the tenth wicket with Rahat Ali who made 16 not out.
Southee had Yasir Shah caught behind in his second over of the day and the right-arm paceman dismissed Ehsan Adil in his next to peg back Pakistan.
Realising he was running out of partners, Sarfraz accelerated, hitting two fours in a Boult over but soon lost Babar too at the other end.
Sarfraz hit off-spinner Mark Craig for three boundaries in an over and meted out the same treatment to leg-spinner Ish Sodhi in the next over to storm into the 90s.
The wicketkeeper-batsman cut Southee past gully for a boundary to register his third test century.
Brief scores
New Zealand - 403 (Latham 137, Babar 4-137) and 167/6 (Taylor 77*, Babar 3-60, Yasir 3-65)
Pakistan - 393 (Sarfraz 112, Azhar 75, Younis 72)
Status - New Zealand lead by 177 runs