Opener Tillakaratne Dilshan stroked his fifth test century of the year for Sri Lanka who reached 275 for three in reply to India's 426 at the close on the second day of the first test.
Dilshan hit 112 and shared in a first-wicket stand of 74 with Tharanga Paranavitana (35) and 115 for the next with skipper Kumar Sangakkara (31) to help the tourists make a solid reply on a good batting pitch at the Motera.
Left-arm pace bowler Zaheer Khan struck crucial blows for India when he dismissed Dilshan and Sangakkara in successive overs but Mahela Jayawardene (36 not out) and Thilan Samaraweera (45 not out) ensured no more wickets fell with a stand of 81.
Dilshan recorded his 10th test hundred that featured some fine strokeplay. He struck 12 fours and reached his century with a spanking cut for a boundary off Ishant Sharma, but fell to a soft dismissal when he top-edged a slash off Zaheer to be caught by Rahul Dravid running in from gully.
Zaheer, returning from a long injury layoff, forced Sangakkara to miscue a hook in his following over to be caught by Sachin Tendulkar at fine leg.
Sri Lanka, who are ranked second behind South Africa in the official test rankings, are aiming to win a test on Indian soil for the first time. India were bowled out in the morning after adding 41 runs to their overnight score, with Dravid failing to add to his overnight tally before departing.
Keep up with the latest business news from the region with the Emirates Business 24|7 daily newsletter. To subscribe to the newsletter, please click here.