Sri Lanka turned the screws on Pakistan in the first cricket Test in Galle, bowling the tourists out for 100 on the third day on Sunday.
Off-spinner Suraj Randiv grabbed 4-13 in 9.3 overs and left-arm spinner Rangana Herath took 3-30 as Pakistan were bundled out at the stroke of lunch after resuming the day at 48-5.
Pakistan, who barely managed to surpass their lowest-ever total against Sri Lanka of 90, face an uphill struggle to save the first game of the three-Test series.
But Sri Lanka, who made 472 in the first innings, declined to enforce the follow-on despite leading by 372 runs on a spin-friendly pitch at the Galle International Stadium.
Pakistan were dealt a cruel blow within the first 30 minutes of play when their most experienced batsman Younis Khan was given out leg-before for 29 by Australian umpire Steve Davis.
Television replays showed a clear inside-edge off the bat on to the pad and a surprised Younis, who had scored 14 of the first 17 runs of the day, stood his ground before walking off.
It was the eighth contentious decision by Davis and his English colleague Ian Gould in the Test so far, with at least five of them going against the tourists.
But the Umpires Decision Review System (UDRS), which allows reviews by the television umpire, is not being used in this series.
There was no doubt over the next wicket as Adnan Akmal was run out for nine when Mohammad Ayub refused a second run and both batsmen were stranded at the same end.
Ayub, the 32-year-old playing his first Test, plodded for two hours to make a dour 25 when he was leg-before to Herath.