Opener Dimuth Karunaratne missed out on a maiden double hundred but his 238-run stand with fellow centurion Dinesh Chandimal set up Sri Lanka's first-innings total of 484 on day two against West Indies in the opening test at Galle on Thursday.
West Indies launched a comeback through leg-spinner Devendra Bishoo, who picked up 4-143, and restricted the hosts below 500 by taking the last seven wickets for 59 runs.
But left-arm spinner Rangana Herath had West Indies in early trouble in their reply by dismissing openers Kraigg Brathwaite (19) and Shai Hope (23) cheaply to send the tourists to stumps on 66-2, trailing Sri Lanka by 418 runs.
Darren Bravo (15) and Marlon Samuels (seven) were unbeaten at the crease for the tourists.
Earlier, with the slow pitch offering little assistance for the bowlers, left-hander Karunaratne, unbeaten on 135 overnight, and Chandimal continued to plunder runs for the hosts who won the toss and chose to bat.
Karunaratne hit 16 fours and a six in his 354-ball knock and was finally out when he offered a return catch to part-time off-spinner Marlon Samuels.
West Indies made life difficult for themselves by spilling chances on the opening day and they again failed to make most of their opportunities on the second morning.
Chandimal, who was dropped on 11, survived another chance on 82 when Jermaine Blackwood allowed the ball to burst through his fingers at point off fast bowler Shannon Gabriel.
Right-handed batsman Chandimal made the most of his luck and completed his fifth hundred in tests with a lofted drive over mid-off against Gabriel.
He hit 16 fours and two sixes in his stroke-filled 298-ball knock before falling for 151 to paceman Jerome Taylor.
West Indies got their second breakthrough of the afternoon session when debutant Milinda Siriwardana (one) edged Taylor to wicketkeeper Denesh Ramdin.
Sri Lanka captain Angelo Mathews (48) fell to his West Indies counterpart Jason Holder with the first ball after the tea break before Bishoo got in on the act.
He took three of the remaining four wickets to polish off the tail.
Scoreboard (at stumps on Day 2)
Sri Lanka 1st innings (Overnight: 250-2)
D Karunaratne c&b Samuels 186
K Silva c Ramdin b Roach 17
L Thirimanne c sub b Bishoo 16
D Chandimal c Blackwood b Taylor 151
A Mathews c&b Holder 48
M Siriwardana c Ramdin b Taylor 1
K Perera b Gabriel 23
D Prasad c Holder b Bishoo 13
R Herath lbw b Bishoo 0
T Kaushal not out 9
N Pradeep c Gabriel b Bishoo 0
Extras: (b-4 lb-5 nb-6 w-5) 20
Total (all out, 152.3 overs) 484
Fall of wickets: 1-56 K. Silva,2-101 L. Thirimanne,3-339 D. Karunaratne,4-425 D. Chandimal,5-427 M. Siriwardana,6-448 A. Mathews,7-467 D. Prasad,8-467 R. Herath,9-475 K. Perera,10-484 N. Pradeep
Bowling: J Taylor 20 - 4 - 65 - 2(nb-5); K Roach 19 - 3 – 57- 1; J Holder 21 - 4 - 36 – 1; S Gabriel 20 - 2 - 76 - 1(nb-1 w-1); M Samuels 27 - 4 - 84 – 1; D Bishoo 40.3 - 2 - 143 – 4; C Brathwaite 5 - 0 - 14 – 0.
West Indies 1st innings
C Brathwaite lbw b Herath 19
S Hope b Herath 23
Da Bravo not out 15
M Samuels not out 7
Extras: (nb-2) 2
Total: (for 2 wickets, 21 overs) 66
Fall of wickets: 1-33 C. Brathwaite,2-49 S. Hope
D Prasad 4 - 3 - 4 – 0; N Pradeep 5 - 0 - 29 – 0; R Herath 8 - 2 - 14 – 2; T Kaushal 4 - 1 - 19 - 0(nb-2).
Image: Rangana Herath (right) celebrates after taking the wicket of Harbhajan Singh
Photograph: Dinuka Liyanawatte/Reuters