New Zealand are staring at a heavy defeat in the first test against India at Kanpur.
When the final day starts tomorrow, New Zealand will be 93 for four, chasing an improbable 434 for what would be just the country's third win in India.
Luke Ronchi had followed his first innings 38 with an unbeaten 38 after 68 minutes, while Mitchell Santner was on eight, the pair batting grittily after New Zealand were on the run at 56 for four.
India declared their second innings at 377 for five, with half centuries each and a century stand for the sixth wicket for Rohit Sharma and Ravi Jadeja.
New Zealand's second innings chase began dreadfully, with both openers Martin Guptill and Tom Latham, out in the fourth over of the innings by offspinner Ravi Ashwin for 0 and 2 respectively.
Guptill, who is in poor form, tried to hit Ashwin down the ground and the ball bounced up off his boot to silly mid off; Latham went in similar fashion to the first innings, lbw to a ball which carried on with the arm.
New Zealand's senior batsmen, captain Kane Williamson and Ross Taylor, put on 40 without ever being in control against the formidable Ashwin, with large clouds of dust puffing up with every ball pitching.
Williamson, dropped at deep square leg on 16, went lbw to Ashwin, giving him his 200th test wicket. He got there at a quicker rate, 37 overs, than any other bowler in history apart from Australian legspinner Clarrie Grimmett of the 1920s and 30s, who got to 200 one game faster.
Taylor, who had been edgy throughout his innings, committed batting suicide. Coming back for a second run to Luke Ronchi, he failed to ground his bat in his crease and was run out by Umesh Yadav's direct hit from deep mid wicket.
With the crowd in uproar, and India sensing a chance to slice right through the innings, Ronchi and Santner dug in impressively.
Ronchi struck Ashwin for a six over long on and picked his moments to attack. Santner defended stoutly.
The likelihood is that it won't be enough to stave off defeat, but at least the pair have ensured New Zealand live to fight into the last day.
New Zealand did a tidy job of putting a plug on India's desire for rapid runs in the morning session, Santner and offspinner Mark Craig doing good, steady work, as New Zealand took three for 93 off 34 overs.
But Sharma and Jadeja got away and put the foot down in the second session.
Ashwin, in particular, and Jadeja were a handful for New Zealand, and unless rain intervenes, and a passing shower was anticipated today, India will take a 1-0 lead to the second test in Kolkata, starting on next Friday.