series in Sri Lanka since 1993 when Mohammad Azharuddin’s men clinched a 1-0 victory.
Rohit Sharma said he hoped India can win, just as they did in the second Test where Sri Lanka were bowled out for 134 chasing a target of 413.
“We are in a very good position right now,” he said. “Most of the wickets have been taken by the seamers but the spinners have also done well.
“A target of 380-plus is never easy for any team and I guess we will just have to come out tomorrow and do what we did in the previous match. One more job, and we are through.”
Resolute batting by India’s lower order had lifted their second innings to 274, with the last six wickets contributing 210 runs after the top four had fallen for 64.
The revival began with a 54-run partnership for the fifth wicket between Rohit Sharma (50) and Stuart Binny (49) before Ravichandran Ashwin smashed 58 to boost the total.
Ojha scored 35, but Amit Mishra (39) and Ashwin increased the lead with a 55-run stand for the eighth wicket.
Prasad and Pradeep finished with four wickets each on a seaming pitch where 15 wickets had fallen on the third day.
Sri Lanka won the opening Test in Galle by 63 runs, but India drew level with a 278-run win in the second match at the P. Sara Oval in Colombo.
Score Board
Sri Lanka won toss
India 1st innings 312 all-out (C Pujara 145; Prasad 4-100)
Sri Lanka 1st innings 201 all-out (M Perera 55; I Sharma 5-54)
India 2nd innings
C A Pujara b Prasad 0
K L Rahul b Pradeep 2
A M Rahane lbw b Pradeep 4
*V Kohli c Tharanga b Pradeep 21
R G Sharma c Pradeep b Prasad 50
S T R Binny c Tharanga b Prasad 49
†N V Ojha c Karunaratne b Herath 35
A Mishra run out 39
R Ashwin c Perera b Prasad 58
U T Yadav c Herath b Pradeep 4
I Sharma not out 2
Extras (b 1, lb 1, w 3, nb 5) 10
Total (all out; 76 overs) 274
Fall: 1-0, 2-2, 3-7, 4-64, 5-118, 6-160, 7-179, 8-234, 9-269, 10-274
Bowling: Prasad 19-3-69-4 (4nb, 2w); Pradeep 17-2-62-4 (1w); Herath 22-0-89-1; Mathews 6-3-11-0; Kaushal 12-2-41-0 (1nb)
Sri Lanka 2nd innings
W U Tharanga c Ojha b I Sharma 0
J K Silva not out 24
F D M Karunaratne c Ojha b Yadav 0
L D Chandimal c Kohli b I Sharma 18
*A D Mathews not out 22
Extras (lb 2, nb 1) 3
Total (3 wickets; 18.1 overs) 67
To bat: H D R L Thirimanne, †M D K J Perera, K T G D Prasad, H M R K B Herath, P H T Kaushal, N Pradeep
Fall: 1-1, 2-2, 3-21
Bowling: I Sharma 7-2-14-2 (1nb); Yadav 5-1-32-1; Binny 4-1-13-0; Mishra 2-0-2-0; Ashwin 0.1-0-4-0
Umpires: N J Llong (England) and R J Tucker (Australia). TV umpire: R R Wimalasiri. Match referee: A J Pycroft (Zimbabwe)