Alastair Cook and Nick Compton made some amends for England's poor first innings by grinding out a 231-run partnership to eat deep into New Zealand's lead of 293 on the fourth day of the first Test on Saturday in Dunedin.
Captain Cook was dismissed just before stumps for 116, leaving Compton to resume on the fifth and final day of the match on 102 not out along with nightwatchman Steven Finn, who had yet to score.
England ended the day on 234 for one, a deficit of just 59 runs, after applying themselves far more diligently than in their first innings, when they were bundled out for 167.
England first innings 167
New Zealand first innings
P Fulton c Prior b Anderson 55
H Rutherford c sub (Woakes) b Anderson 171
K Williamson b Panesar 24
R Taylor c Trott b Anderson 31
D Brownlie b Anderson 27
B McCullum c Anderson b Broad 74
B.J. Watling b Broad 0
T Southee b Broad 25
B Martin c Prior b Finn 41
N Wagner not out 4
TOTAL (for 9 wickets, decl.) 460
Overs: 116.6. Batting time: 518 minutes.
Fall of wickets: 1-158, 2-249, 3-267, 4-310, 5-321, 6-326, 7-370, 8-447,
England second innings
A Cook c Watling b Boult 116
N Compton not out 102
S Finn not out 0
TOTAL (for 1 wicket) 234
Overs: 87. Batting time: 347 minutes.
Fall of wickets: 1-231.
Cook and Compton's obdurate stand on Saturday not only edged the visitors closer to safety but sent a message to New Zealand's young pace attack that the rest of the three-match series would be much more of a Test of their abilities.
Mindful they needed to bat time to at least save the Test, both openers played cautiously and a potential run out when Compton was on 94 was the only chance in their record first wicket stand before Cook's dismissal.
Cook and Compton's effort bettered the 223 runs put on by Graeme Fowler and Chris Tavare in 1984 as the highest England opening partnership in a Test against New Zealand.
Cook brought up his 24th Test century with a paddle around the corner off Bruce Martin for his 13th boundary, prompting a standing ovation from the crowd.
Just as the partnership looked set to remain intact until the close of play, though, Trent Boult managed to catch the outside edge of Cook's bat and the ball carried to wicketkeeper BJ Watling.
The dismissal did not unsettle Compton, who had been under pressure for his place in the side after failing to convert good starts on England's recent tour of India.
The 29-year-old brought up his maiden Test century two balls later with a push into the leg side for a single and emitted a roar of delight as he cantered down the wicket.
"The biggest relief of my life to be honest," Compton told reporters.
"To get to this moment was something special, I never thought perhaps a year ago, or a couple of months ago, that I'd be sitting here with a hundred.
"I kept believing, but it’s been a long time. I'm just delighted to be here. It's a strange feeling."
The patience that England showed had frustrated New Zealand's bowlers, Boult said afterwards, though he also praised the pair for the way they held out, shaking hands with Compton in between post-match media conferences.
"It was frustrating not to grab a few more but that's the way it goes," Boult told reporters. "They were tough conditions.
It was a flat wicket and cold with not much swing or any help from the wicket.
"They just batted well. They took it pretty simply, left the ball well.
"I thought we built pressure in periods, but let them off at times too. They were going at a relatively slow scoring rate.
"We just thought we had to build pressure. It was nice to get one wicket; a few more would've been good."