Pakistan look to have taken the first Test against Sri Lanka as the two teams head in early for tea at a rainy Galle International Cricket Stadium.
Sri Lanka have been bowled out for 206 in their second innings and now lead by just 89 runs with Pakistan still to bat.
The hosts were 132-3 when Wahab Riaz ended the stand between Lahiru Thirimanne and Dimuth Karunaratne before lunch. Angelo Mathews got a contentious decision immediately after the break before the rest of the order collapsed.
Leg-spinner Yasir Shah, playing in just his eighth Test, ended up recording figures of 7-75.
Karunaratne and Thirimanne were Sri Lanka's leading scorers with 79 and 44 respectively.