Sri Lanka President's XI 153 (Chandraguptha 48, Helm 3-18) and 182 for 4 (Chandraguptha 91) lead England Lions 279 (Westley 95, Livingstone 84) by 56 runs
England Lions were subjected to a long, hot day in the field after a poor morning batting performance on the second day of their warm-up match against a Board President's XI in Moratuwa - and captain Keaton Jennings was delighted.
Not with the batting, which saw the Lions squander a decent overnight platform of 168 for 4, with the last six wickets falling for 74.
"But that was exactly what we needed to get us ready for the two four-day games against Sri Lanka A," said Jennings, after the President's XI dug in on a slow pitch to reach 182 for 4 in their second innings. "All the bowlers had some good overs, and I thought we hung in there well."
Opener Ron Chandraguptha, who had top-scored in the first innings with 48, made 91 second time around in front of national selector Sanath Jayasuriya before he was again dismissed by a good ball from Middlesex off-spinner Ollie Rayner.
Toby Roland-Jones had made an early dismissal with the new ball, Hashan Dumindu falling without scoring, but the Lions had to sweat for everything after that.
Tom Curran claimed his third wicket of the match in seven tidy overs, and the fourth wicket went to Liam Livingstone, underlining his all-round value as the team's third spinner.
The Cumbrian had the President's XI captain Nipun Karananayake smartly caught at short leg by Nick Gubbins, after earlier extending his half century to a new personal Lions best of 84 - including a second six.
Tom Westley, with whom he had shared a fifth-wicket stand of 136, went on to 95 before squandering the chance of a maiden Lions century.
But his performance was praised by Jennings, Lions coach Andy Flower and also Chris Silverwood, his Essex coach who is with the Lions as assistant coach. "It was great to see Tom batting so nicely early in the tour," said Silverwood. "He did well for the Lions against Afghanistan before Christmas, and this is a great chance for him to build on that."
Of the rest of the Lions batting, only Sam Curran hung around for long, making 24 from 39 balls until he was last man out.