Sri Lanka 261-8 in second Pakistan Test
Sri Lankan cricket captain Angelo Mathews (L) plays a shot as Pakistan wicketkeeper Sarfraz Ahmed looks in Colombo on August 14, 2014 - by Lakruwan Wanniarachchi
Skipper Angelo Mathews was dismissed off what became the last ball of the day for 39, leaving Dhammika Prasad unbeaten on four.
Upul Tharanga top-scored with 92.
Mahela Jayawardene, playing his last Test, made only four before he was leg-before to Saeed Ajmal.
Sri Lanka had won the first Test in Galle by seven wickets.