Safyaan Sharif was the pick of the bowlers with four wickets, while Ali Evans and Michael Leask had two apiece. On the fourth evening, Herath had understatedly acknowledged that the reason Pakistan have provided more victims for him than any other side down the years is simply because he has played more against them than anyone else.
Herath has now picked up 10 wickets in a match on nine occasions and also has 33 five-wicket hauls.
With that, Herath not only breached the 400-wickets mark in Test cricket, but also became the first-ever bowler to scalp 100 wickets against Pakistan.
Pakistan head coach Mickey Arthur rued the fact that the team could not go over the line in the first Test against Sri Lanka recently. The technology returned a verdict of "umpire's call", which no longer sees the unsuccessful team lose one of their two reviews per innings. New Pakistan Test captain Sarfraz Ahmed completed the run-out.
The wily left-armer finished with 5-93 in a marathon 40 overs but left-hander Sohail fought through his 76 run knock to take Pakistan to 422 all out in reply to Sri Lanka's first innings total of 419.More news: Alvaro Morata pulls out of Spain squad
More news: GM to offer 2 more electric vehicles in next 18 months
More news: Evacuations from Indonesian volcano approach 50000
"We'll try to bat most of the day and put them under pressure in the second innings".
At the close, Kusal Mendis was batting on 16, with nightwatchman Suranga Lakmal on two, after a day of fluctuating fortunes.
Pakistan's batting lineup fell like a pack of cards as the whole team was dismissed for 114, just 22 runs short of the modest target of 136 on day five of the first Test at Abu Dhabi. At that point, Sri Lanka had their nose ahead in what was until then a race between tortoises and were looking at a handy lead. It's hard in the middle, Dickwella and Karunaratne were very good in the first innings, Dickwella was unbelievable in the second innings to get us to the 140-run mark. We discussed at lunch break that we needed one good partnership and wanted that up front, but didn't get that. All credit should go to the people behind me, from my parents to the team and the supporting staff. "We all knew the legend Rangana would come into play, and finally he did his best", he added.
Sarfraz: Win and loss - it's always a part of the game, but we should have won this match.
The second Test - a day-night match - starts in Dubai from Friday.