A crazy third day of the first Test in Auckland saw 17 wickets fall and India set 407 to beat New Zealand.
Resuming on 130-4, India were skittled out for 202 in their first innings after losing their last six wickets for 72 runs in the morning session.
That saw the tourists relinquish a 301-run lead on first innings but Brendon McCullum decided not to enforce the follow-on and then saw his side bundled out for 105 in under 42 overs.
India finished the day on 87-1 and need 320 more runs to take a famous victory via the third highest fourth innings run chase in the history of Test cricket.
If India manage to win tomorrow it will be their highest ever run chase in Test cricket (had made 406/4 v WI at POS in April 1976) #NZvInd— Mohandas Menon (@mohanstatsman) February 8, 2014
Trent Boult, Tim Southee and Neil Wagner picked up the remaining wickets on the third morning as India lost their final six in just 21 overs.
Ajinkya Rahane went for 26, having added just three to his overnight score, and Rohit Sharma departed in the next over for 72.
Ravindra Jadeja offered some resistance with an unbeaten 30 but the tail failed to wag with Wagner the pick of the bowlers with figures of 4-64.
|Dhawan||c Williamson||b Boult||0||2||3|
|Pujara||c Watling||b Boult||1||3||3|
|Kohli||c Fulton||b Southee||4||17||13|
|Ro Sharma||b Boult||72||165||120|
|Rahane||c Taylor||b Southee||26||102||70|
|Dhoni||c Watling||b Wagner||10||43||28|
|Zaheer Khan||c Watling||b Wagner||14||23||16|
|I Sharma||c Boult||b Southee||0||3||3|
|Shami||c Fulton||b Wagner||2||6||3|
|Extras||3nb 3w 5b 6lb||17|
However, the Kiwis were stunned as they slumped to 15-4 at lunch, with Mohammed Shami removing both openers in his first two overs and first innings double centurion McCullum run out off the final ball of the morning.
Ross Taylor made 41 but no other batsman got past 14 as Shami picked up 3-37 and Ishant Sharma took the final three wickets to claim 3-28.
|Fulton||c Jadeja||b Shami||5||13||11|
|Williamson||c Jadeja||b Zaheer Khan||3||20||17|
|Taylor||c Rahane||b Zaheer Khan||41||116||73|
|B McCullum||run out (Jadeja)||1||8||2|
|Watling||b I Sharma||11||95||72|
|Southee||c Pujara||b Jadeja||14||19||15|
|Sodhi||c Ro Sharma||b I Sharma||0||7||5|
|Wagner||c Jadeja||b I Sharma||14||24||21|
|Extras||2nb 1w 4b 0lb||7|
India's pursuit of their target was hindered when Southee strangled Murali Vijay down the leg-side for 13 but Shikhar Dhawan (49) and Cheteshwar Pujara (22) saw the visitors through to stumps without further loss.