Australia remain in the hunt for an elusive Test series win in India thanks to Nathan Lyon, who spun a web around India late on day two of the Dharamsala decider.
The top-ranked Test side were 6-248 at stumps on Sunday, trailing the visitors by 52 runs.
Lyon grabbed a haul of 4-21 during the final session, delivering the latest twist in what has been an absorbing four-Test series stacked with swings and roundabouts.
The series, locked at 1-1, remains in the balance. Australia would be in a far better position if not for two dropped catches from Matt Renshaw, the latter a dolly that popped out of his hands in the fourth last over of the day.
Wriddhiman Saha, reprieved by Renshaw on nine, was unbeaten on 10 at stumps alongside Ravindra Jadeja (16 not out).