- Mathews then came to the crease and settled the innings with his 11th test ton and first at Sri Lanka's most iconic venue.
- Anderson produced early reward for England having replaced Stuart Broad in a rotation of the seam attack.
Angelo Mathews scored a patient unbeaten century on Friday to dig Sri Lanka out of some early peril and lead his side to 229 for four on the opening day of the second and final test against England.
The home side won the toss and elected to bat at Galle International Stadium, but a double strike from seamer James Anderson with the new ball had them teetering at seven for two.
Mathews then came to the crease and settled the innings with his 11th test ton and first at Sri Lanka's most iconic venue.
He will resume on the second morning on 107 not out, compiled from 228 balls with 11 fours, and will be joined at the wicket by Niroshan Dickwella on 19.
Anderson produced early reward for England having replaced Stuart Broad in a rotation of the seam attack, the only change from their seven-wicket win in the first test.
Fiery home opener Kusal Perera had a wild swing at a delivery outside off stump and was caught by Joe Root high above his head at first slip for 6.
Oshada Fernando (0), who came into the side for Kusal Mendis, lasted just four balls before edging a rising Anderson delivery that he could have left onto the wicket.
Mathews and opener Lahiru Thirimanne (43) put on 69 for the third wicket before the latter edged Anderson's second ball after lunch to wicketkeeper Jos Buttler.
Captain Dinesh Chandimal (52) added another 117 with Mathews before he was trapped leg before wicket by fast bowler Mark Wood, who managed to produce reverse swing early in the innings and toiled away for 17 overs and figures of 1-47.
England will be disappointed with some of the lines they bowled, particularly the spin duo of Dom Bess and Jack Leach, who conceded 120 in 40 overs and failed to create much in the way of chances.
The tourists are seeking to notch a fifth away test victory in a row for the first time since 1913. They travel to India for four matches immediately after this series.