Left-arm spinner bags 20th five-wicket haul to dent tourists’ reply after Sri Lanka post 320 in their first-innings.
Rangana Herath again put Pakistan in a spin with a five-wicket haul but half-centuries from Sarfraz Ahmed and Ahmed Shehzad guided the tourists to 244 for six at the close of the second day of the second Test.
Pakistan trail Sri Lanka, who lead the Two-test series 1-0, by 76 runs after the hosts were bowled out for 320 in their first-innings.
Herath took the wickets of experienced pair Younus Khan and captain Misbah-ul-Haq in seven balls after tea to reduce Pakistan to 140-5, but Asad Shafiq (42) and Sarfraz (66 not out) added 93 for the sixth wicket before Herath separated them towards the end of the day.
He bowled Shafiq between bat and pad with an arm ball as the batsman prodded forward to finish the day with figures of five for 98.
Herath is the leading wicket-taker in Test cricket for the calendar year with 47 wickets.
Sarfraz reached his third consecutive half-century of the series after successfully reviewing a lbw dismissal off Dilruwan Perera when he had made 24.
Earlier, Pakistan left-arm paceman Junaid Khan completed his fifth five-wicket haul against Sri Lanka but not before the hosts’ tailenders frustrated them to add 59 valuable runs in the morning.
Pakistan’s hopes of finishing off the Sri Lankan innings quickly were stalled by Dhammika Prasad (13), Herath (17) and Chanaka Welegedara (27 not out).