India opener Shikhar Dhawan smashed another hundred and KL Rahul made a record-equalling half-century before Sri Lanka hit back on day one of the third Test in Pallekele.
Dhawan put Sri Lanka's attack to the sword with a magnificent 190 in the first Test and he hit a brisk 119 as the India openers cashed in after Virat Kohli won the toss on Saturday.
Rahul (85) gave another exhibition of his class at the top of the order, becoming only the sixth man to score 50 or more in seven consecutive Test innings courtesy of a first-wicket stand of 188.
Malinda Pushpakumara (3-40), in only his second Test, sparked Sri Lanka's revival after lunch and Lakshan Sandakan (2-84) struck twice, leaving India 329-6 at stumps as they target a 3-0 series whitewash.
Wriddhiman Saha (13 not out) and Hardik Pandya (1 no) will resume in Kandy on Sunday.
The aggressive Dhawan latched on to short stuff from the recalled Lahiru Kumara with some exquisite cuts, while Rahul pulled expertly and drove with elegance as India got off to an ominous start.
Kumara was removed from the attack after only three overs and failed to redeem himself for a poor opening spell when he dropped Rahul on 28 running back from mid-on off the bowling of Dimuth Karunaratne.
That proved to be costly as Dhawan and Rahul continued to score all too easily, the left-hander setting about spinner Dilruwan Perera.
The prolific Rahul, who timed the ball superbly, etched his name in the record books with yet another half-century and Dhawan raced on to 64 as India reached lunch on 134 without loss.
Angelo Mathews had no time to react when Rahul edged a cut past him at slip off Sandakan, but he missed out on a century after dancing down the track to strike Pushpakumara to Karunaratne at mid-on.
Cheteshwar Pujara was rattled on the helmet by a short ball from Kumara before Dhawan brought up his sixth Test hundred by using his feet superbly to drive Pushpakumara wide of mid-off for four.
Dhawan's stylish 123-ball knock, which included 17 boundaries, ended when he swept Pushpakumara to a diving Dinesh Chandimal and Pujara (8) fell before tea, caught cutting Sandakan to Mathews in the slips, as the hosts' persistence finally paid off.
Pushpakumara bowled Ajinkya Rahane (17) and Sandakan claimed the scalp of Kohli, who was taken by Karunaratne at slip eight short of a half-century, in a strong Sri Lanka fightback.
Vishwa Fernando, playing his second Test a year after his debut, also snared Ravichandran Ashwin (31) caught behind at full stretch by Niroshan Dickwella to give Sri Lanka another late lift.
|Risking the curse - Steelers star Brown lands on Madden 19 cover|
|Pogba silenced his critics with World Cup displays – Ibrahimovic|
|Warburton overwhelmed by support following retirement|
|Wilshere excited by tactics of Wenger-like Pellegrini|
|Deschamps never considered France exit prior to World Cup win|
|Persepolis eye Champions League after Iran impress at World Cup|
|Sandy Lyle gets The Open underway at Carnoustie|
|Roosters sign England international Hall|
|Ovechkin, Kim earn major honours at ESPY Awards|
|Owens not ´actively seeking´ to play in NFL again|
|Argentina need Messi – Tevez urges Lionel not to retire|
|Minnesota United 2 New England Revolution 1: Ramirez, Quintero sink stuttering visitors|
|Shaw: I want to be first name on Man United teamsheet|
|Manny Machado dealt to Dodgers|
|Pjanic hails Ronaldo arrival but refuses to confirm Juve future|
|Perotti: Roma can cope without Liverpool-bound Alisson|
|Klopp hopes Liverpool building towards title tilt|
|Karlovic exits as four seeds bow out in Newport|
|Angels clap back at Manfred´s marketing comments on Trout|
|Titans DL Casey will still protest despite new anthem policy|
|Popovich on Leonard trade: It´s time to move on|
|Zola returns to Chelsea as Sarri´s assistant|
|Anthony Joshua targets ´dream´ fight in Texas|
|Celtic 3 Alashkert 0 (6-0 agg): Dembele hits brace before injury worry|
|Schwartzman stumbles but Spanish duo reach last eight at Swedish Open|
|Top seeds progress in Bucharest as Larsson conquers Kung|
|Perez promises ´incredible´ signings at Real Madrid|
|Liverpool need a top goalkeeper - Souness|
|It was just an absolute car crash - Root regrets bat-drop celebration|
|Mourinho´s pre-season fears mount with Sanchez sidelined|
|Alisson thanks Roma fans ahead of rumoured Liverpool switch|
|Pogba must understand his World Cup heroics, says Mourinho|
|Odriozola excited by Lopetegui reunion at Real Madrid|
|Revis announces retirement from NFL after 11 seasons|
|The Open 2018 diary: Rahm´s saving Grace, Rory´s going grey|
|Kawhi Leonard traded to Raptors as DeMar DeRozan heads to Spurs|
|Cantona, Rosberg and other surprise retirements after Warburton hangs up his boots|
|No doubting Thomas as he climbs into yellow with stage win|
|Liverpool´s Oxlade-Chamberlain to miss ´vast majority´ of 2018-19|
|Open Championship by far the greatest - Player|
|Sarri wants new central midfielder and hints at Chelsea stay for Cahill|
|Nantes sign former Manchester United full-back Fabio|
|Marcelino rewarded with one-year Valencia extension|
|Warburton retires: Bale leads social media tributes to Welsh great|
|Mistakes do not define me, says Chelsea boss Sarri|
|Saints and Tigers to honour Horne with Twickenham clash|
|I want to keep Hazard, says Sarri|
|Europe must stop American juggernaut at Carnoustie|
|Joshua planning for heavyweight ´legacy´ – starting with Povetkin|
|Warburton retires: Wales and Lions star´s career in numbers|
|Matching ´ridiculous´ Tiger not on McIlroy´s radar|
|Spain sent me World Cup SOS, claims Benitez|
|Ozil, Gundogan critics should ´shut up´ - Klopp|
|McIlroy plans to play carefree at Carnoustie|
|Pakistan thrash Zimbabwe to secure series win|
|Warburton retires: Gatland salutes Wales and Lions great|
|Sturridge determined to stay at Liverpool|
|Mbappe is an alien – Varane|
|Warburton retires from rugby|
|India to assess Bhuvneshwar as Bumrah makes Test squad|
|Injured Craddock passes $100,000 in donations at Tour de France|
|WATCH: Perez taunts team-mate after audacious training goal|
|Alison Becker tweets ´I´m joining Liverpool´... but all is not as it seems|
|F1 Raceweek: Hamilton chasing down Schumacher - German GP in numbers|
|Notorious Carnoustie holds fond memories for legendary Watson|
|Rooney refused to be ´dead weight´ at Everton|
|The Open 2018: Molinari, Rahm and the in-form contenders at Carnoustie|
|Marsh interested in Australia leadership roles|
|United can challenge City for Premier League title, says Rooney|
|MLB All-Star 2018: Seven things you missed at Midsummer Classic|