Left-arm paceman Junaid Khan took his maiden five-wicket haul as Pakistan bundled out Sri Lanka for 197 in the first innings of the first Test in Abu Dhabi on Tuesday.
In reply, Pakistan openers Mohammad Hafeez (17 not out) and Taufeeq Umar (8 not out) knocked off 27 runs to trail Sri Lanka by 170 runs at the close of play at the Sheikh Zayed Stadium.
Junaid, 21, playing in only his second Test, ran through the Sri Lankan middle and lower order with Umar Gul and Saeed Ajmal picking up two wickets apiece.
Angelo Mathews remained unbeaten on 52 and batted intelligently with the tailenders to take Sri Lanka closer to the 200-run mark after they were reduced to 114 for seven wickets at one stage.
Sri Lanka made a slow start in the morning, after being put in to bat first, and added 50 for the loss of one wicket before Pakistan took control by picking up six wickets in the post-lunch session.
Paceman Aizaz Cheema got the crucial wicket of former captain Kumar Sangakkara (2).
Pakistan are forced to play all their home Tests in the Emirates because of security fears in their own country.
Scorecard
Sri Lanka (1st innings):
T Paranavitana c A Akmal b Gul 37
L Thirimanne c Y Khan b Ajmal 20
K Sangakkara c A Akmal b Cheema 2
M Jayawardene c Hafeez b J Khan 28
T Dilshan c A Akmal b Ajmal 19
A Mathews not out 52
P Jayawardene b J Khan 0
R Herath lbw b J Khan 0
S Lakmal c Hafeez b Gul 18
C Welegedara c Umar b J Khan 11
N Pradeep c A Akmal b J Khan 1
Extras: (lb-3, w-1, nb-5) 9
Total: (all out; 74.1 overs) 197
Fall of wickets: 1-48, 2-51, 3-79, 4-112, 5-112, 6-112, 7-114, 8-168, 9-193.
Bowling: Gul 11-1-37-2 (3nb), Cheema 15-5-51-1 (1nb), Hafeez 9-3-12-0, J. Khan 14.1-3-38-5 (1nb, 1w), Ajmal 25-5-56-2.
Pakistan (1st innings):
M Hafeez not out 17
T Umar not out 8.
Extras: (nb-2) 2
Total: (no loss; 8 overs) 27
To bat: A. Ali, Y. Khan, Misbah-ul Haq, A. Shafiq, A. Akmal, U. Gul, A. Cheema, S. Ajmal, J. Khan
Bowling: Welegedara 2-0-9-0 (2nb), Lakmal 3-0-8-0, Herath 2-1-2-0, Pradeep 1-0-8-0.