Ravindra Jadeja dismissed Alastair Cook in the last over on day four to strike a major blow to England's hopes of salvaging an unlikely draw in the second Test against India.
Cook (54 off 188 balls) had led a defiant rearguard action with great support from Haseeb Hameed (25 off 144 balls), but the England captain's obstinate innings was ended with what proved to be the final ball of the day when Jadeja (1-25) trapped him leg before.
The stoic England skipper and Hameed saw out 50 overs before Ravichandran Ashwin (1-28) ended the teenager's doughty, mature knock and England were 87-2 at stumps after being set a highly improbable 405 to win in Visakhapatnam.
Stuart Broad (4-33) excelled and Adil Rashid took 4-82 as India were bowled out for 204 earlier on Sunday, with captain Virat Kohli making a classy 81.
Hameed was rapped on the gloves after taking his eye off a hostile first delivery he faced from Mohammad Shami (0-16), but the teenager was clearly not rattled by that uncertain start.
He was solid in defence, getting in a big stride to nullify the threat of the spinners and thrived on the challenge of digging in under pressure as Cook knuckled down at the other end, as he has so many times over the years.
The unwavering openers saw out 28 overs to see the tourists through to 40 without loss at tea, then Cook, who found runs easier to come by, cashed in on a half-volley from Ashwin with a glorious cover drive.
Hameed launched the spinner down the ground later in the same over in a rare display of aggression and India's frustration mounted when they used up both reviews in quick succession, with umpire's call the verdict on both occasions after Cook was struck on the pad.
Kohli looked puzzled after failing to overturn both decisions, but the breakthrough finally came when the unfortunate Hameed was trapped leg before by an Ashwin delivery that kept alarmingly low.
Cook stuck to the task and brought up his half-century with a single after 171 balls, but the left hander's luck ran out when he failed with a review right at the end of the day after Jadeja struck him on the pad to end a gutsy innings.
Broad, seemingly untroubled by a foot injury which has put his participation in the third Test in doubt, earlier produced a magnificent probing spell and Rashid impressed once again in the morning session after India resumed on 98-3.
Paceman Broad got rid of Ajinkya Rahane (26) and Ashwin (7), while leg-spinner Rashid was indebted to Ben Stokes when he took a magnificent diving catch to end Kohli's latest masterclass.
Debutant Jayant Yadav (27 not out) and Mohammed Shami (19) put on an entertaining 42 for the last wicket to frustrate England before India got a couple of late rewards for their persistence in the field to set up a potentially enthralling final day.