Pakistan crumpled to 165 all out on the opening day of the second Test against Sri Lanka in Dubai.
It was Sri Lanka's seamers who came to the fore, with Nuwan Pradeep taking three wickets, and Suranga Lakmal and Shaminda Eranga two, before slow left-armer Rangana Herath mopped up the tail.
Most of the damage came in a galling second session for the hosts, who had progressed to 78 for one before a collapse left them trailing in Sri Lanka's wake, with Khurram Manzoor's 73 the only bright spot in their batting.
With the series tied after a drawn first Test, the tourists seized the initiative early on.
Pakistan lost Ahmed Shehzad cheaply although the opener had already been given a life when he was dropped by Angelo Mathews at third slip before he had scored.
But he failed to take advantage of that escape as he was dismissed soon after for three, Pradeep trapping the 22-year-old lbw.
It was almost two wickets in two balls as new batsman Mohammad Hafeez edged the very next delivery to second slip, where Mahela Jayawardene shelled a tough chance.
Manzoor wasted no time in making his intentions known by bludgeoning three fours off Pradeep in the first over of the afternoon session before bringing up the 50 partnership with a single off the same bowler.
Yet Hafeez fell for 21 when he was bowled by Pradeep after a loose drive left a big gap between bat and pad.
Manzoor brought up his 50 with a single through the covers off Lakmal before the batsman shook off the shackles with a six over long-on off slow left-armer Herath.
But Sri Lanka made another key breakthrough when Younis Khan chased a wide one from Eranga to be caught behind, while the seamer struck in his next over, with Pakistan captain Misbah-ul-Haq edging to wicketkeeper Prasanna Jayawardene.
Manzoor was next to go, caught behind after Lakmal found an outside edge, having contributed 73 off 136 balls, and Pakistan were well and truly on the back foot when Asad Shafiq drove Lakmal to short cover shortly before tea to leave the hosts on 127 for six.
The situation did not improve in the final session as Sarfraz Ahmed edged behind in the second over after tea and although Bilawal Bhatti provided some stubborn lower order resistance, striking three fours and a six in his 24 not out, Herath picked up the final three wickets to put Sri Lanka in the driving seat.