Sri Lanka were looking to bat themselves into an impregnable position in the opening Test against West Indies on Tuesday, after the hosts managed to avoid the follow-on.
At the interval, Sri Lanka, leading by 196 runs on first innings, were 83 for one in their second innings with Malinda Warnapura unbeaten on 44 and Kumar Sangakkara not out on 14.
West Indies were dismissed for 280, replying to Sri Lanka's first innings total of 476 for eight declared, about 25 minutes after the scheduled start.
Sri Lanka failed to enforce the follow-on, after West Indies continued from their bedtime total of 269 for nine.
The visitors knew they had to bat a second time, when Daren Powell edged Muttiah Muralitharan past Sri Lanka captain Mahela Jayawardene at slip for three to third man.
After Muralitharan and Chaminda Vaas, Sri Lanka's two most experienced bowlers, failed to separate the two West Indies tail-enders, Jayawardene turned Thilan Thushara and he responded, when he had Powell caught low down at second slip for 12 leaving Taylor not out on 27.
Thushara ended with three wickets for 59 runs from 20.5 overs, Vaas three for 48 from 25 overs, and Muralitharan three for 112 from 40 overs.
When Sri Lanka batted a second time, they gained another stable foundation from Warnapura and fellow left-handed opener Michael Vandort.
Sri Lanka however, suffered a setback in the final half-hour before the interval, when Vandort was caught down the leg-side off West Indies captain Chris Gayle, bowling his uncomplicated off-spin, for 24.
But Sangakkara arrived and together with Warnapura consolidated and made sure that Sri Lanka maintained their stronghold.
Sri Lanka are aiming to win their first Test match in the Caribbean having lost two and drawn two in their previous four.
The visitors are also eyeing a Test series victory for the first time in the Caribbean.