Late strikes by Indian spinners jolted England after skipper Alastair Cook's dogged half-century gave the visitors hope on the fourth day of the second Test in Visakhapatnam on Sunday.
Chasing a mammoth 405 for victory, England were precariously placed at 87 for two at stumps, with Joe Root batting on five as Cook's stubborn resistance came to an end with the close of play.
Left-arm spinner Ravindra Jadeja trapped Cook lbw for 54 and even though the batsman reviewed the decision, the on-field umpires call was upheld. England need 318 to win.
Cook fought hard with fellow-opener Haseeb Hameed (25) as the duo put on 75 runs in 50.2 overs before India's premier spinner Ravichandran Ashwin broke through.
Hameed, who impressed on his debut with a well-made 82 in the second innings of the Rajkot Test, batted with grit during his 144-ball stay before being trapped lbw off Ashwin on a delivery that stayed low.
The batting effort came after Stuart Broad shrugged off a right foot injury to claim four wickets and help dismiss India for 204 in their second innings.
England have their backs to the wall with only four teams - West Indies, South Africa, India, Australia - getting more than 400 in the fourth innings to win a Test.
"There have been a lot of Test matches saved with teams going into the last day at two down and that's got to be our aim," Broad, who returned with figures of 4-33, told reporters.
"We are very happy with today, we have given ourselves a great chance and if we can keep it quiet for the first hour of play tomorrow the pressure will grow on the Indian bowlers," said Broad.
Cook, who was castled by Mohammed Shami for two in England's first innings, showed tremendous application during his 188-ball stay.
He survived a few DRS calls when India decided to review two lbw appeals from Jadeja and Ashwin, but the third umpire upheld the on-field calls on both occasions.
Cook, who struck a delightful 130 in the second innings of the drawn Test in Rajkot, went on to record his 53rd Test fifty.
The visitors need to scale a mountain of runs or bat out three sessions for a draw.
Earlier Broad and Adil Rashid claimed four wickets apiece as India collapsed from 98 for three at the start of play, losing their last seven wickets for 87 as captain Virat Kohli top scored with 81.
England's target would have been less daunting but for a stubborn last-wicket partnership of 42 runs between Shami and Jayant Yadav, who finished unbeaten on 27, that delayed the scheduled lunch break by 20 minutes.
Broad struck early to send overnight batsman Ajinkya Rahane back for 26 in the fifth over of the day.
The wicket ended the 77-run fourth-wicket partnership between Rahane and Kohli.
Leg-spinner Rashid soon swung into action with four wickets including that of Kohli who added 25 runs to his overnight 56.
India scored 455 in their first innings and England replied with 255.
India's first innings centurion Cheteshwar Pujara believes the hosts have a good chance to go one-up in the five-match series. "We are happy at getting two wickets at the end of the day. Possibly, day five I don't think it will be easy to bat on because as we saw, cracks are opening up even on day four, it was difficult," said Pujara.
-- India 1st innings: 455 (V. Kohli 167, C. Pujara 119; J. Anderson 3-62, M. Ali 3-98)
-- England 1st innings: 255 (B. Stokes 70, J. Bairstow 53, J. Root 53; R. Ashwin 5-67)
===========================================
India 2nd innings
===========================================
M. Vijay c Root b Broad 3
L. Rahul c Bairstow b Broad 10
C. Pujara b Anderson 1
V. Kohli c Stokes b Rashid 81
A. Rahane c Cook b Broad 26
R. Ashwin c Bairstow b Broad 7
W. Saha lbw b Rashid 2
R. Jadeja c Ali b Rashid 14
J. Yadav not out 27
U. Yadav c Bairstow b Rashid 0
M. Shami st Bairstow b Ali 19
===========================================
Extras: (b5, lb8, w1) 14
===========================================
Total: (all out; 63.1 overs) 204
===========================================
Fall of wickets: 1-16 (Vijay), 2-17 (Rahul), 3-40 (Pujara), 4-117 (Rahane), 5-127 (Ashwin), 6-130 (Saha), 7-151 (Kohli), 8-162 (Jadeja), 9-162 (U. Yadav), 10-204 (Shami)
Bowling: Anderson 15-3-33-1, Broad 14-5-33-4, Rashid 24-3-82-4, Stokes 7-0-34-0, Ali 3.1-1-9-1
===========================================
England 2nd innings:
===========================================
A. Cook lbw b Jadeja 54
H. Hameed lbw b Ashwin 25
J. Root not out 5
===========================================
Extras: (lb 3) 3
===========================================
Total: (2 wkts, 59.2 overs) 87
===========================================