Abu Dhabi-New Zealand were staring at a comprehensive defeat in the first test after Pakistan set them an improbable victory target before wrecking their top order on the penultimate day of the contest in Abu Dhabi today.

After their first innings run-feast of 566-3, Pakistan declared their second innings on 175-2 to set New Zealand a nominal 480-run victory target in the first match of the three-test series.

New Zealand openers Brendon McCullum (39) and Tom Latham (20) made a bright start before Pakistani spinners Yasir Shah (2-15) and Zulfiqar Babar (1-10) struck to reduce the tourists to 69-3 at tea.

Kane Williamson was yet to open his account when leg-spinner Yasir dismissed Ross Taylor and tea was called with New Zealand needing to bat out four more sessions to force a draw with seven wickets in hand.