Pakistan have been set a target of 274 to win the second and final Test against New Zealand at Wellington after the home side were bowled out for 293 on the fourth day.

New Zealand were going well at 166 for two before a collapse, engineered first by Mohammad Hafeez, who took two for 31, and Umar Gul, who returned four for 61, saw them fail to build on a strong foundation.

Openers Martin Guptill (73) and Brendon McCullum (64) put on 120 for the first wicket and a further half-century from Ross Taylor (52) put the Black Caps in the ascendency.

However, once Abdur Rehman removed the openers, Tanvir Ahmed dismissed Kane Williamson for 15 and Gul trapped Taylor in front, Pakistan finished the day the stronger.

Hafeez bowled Jesse Ryder for 17 and had James Franklin caught by Younus Khan for six to open the floodgates while Gul bowled Daniel Vettori (1), trapped Brent Arnel in front for nought and then had Chris Martin caught behind for one.

Rehman grabbed his third wicket when Reece Young was caught by Azhar Ali for 20.

Day one saw New Zealand win the toss and slump to 160 for six, despite Kane Williamson's 78, but recover to 246 for six thanks to the efforts of Vettori and Young. Vettori completed his century on the second day before striking late to remove Taufeeq Umar for 70.

Misbah-ul-Haq then missed out on a century by one run on day three as Pakistan registered a first-innings lead of 20 despite Vettori and Martin both taking four wickets.

Pakistan lead the two-match series 1-0 following a ten-wicket win in the opening match in Hamilton.