(CNN) -- Sri Lanka struck with two late wickets after being bowled out for 292 by Pakistan on the opening day of the first Test between the two nations since the Lahore terrorist attack on March 3.
Teenage fast bowler Mohammad Aamer has continued his fine form from the World Twenty20 tournament.
Sri Lanka had seven players injured that day by a gunman, who shot batsman Thilan Samaraweera in the leg during the aborted second Test in Pakistan.
On Saturday in Galle, Samaraweera -- who has revealed that he kept the bullet that went into his thigh -- made 31 as the home side struggled to cope with Pakistan's debutant pacemen Mohammad Aamer and Abdur Rauf.
Aamer struck two early blows in the morning to reduce the hosts to 21-2 and snared a third wicket in the first over after tea, while Rauf struck twice including the scalp of top scorer Tharanga Paranavitana for 72.
However, Pakistan ended the day on 15-2 after losing openers Khurram Manzoor (2) and Salman Butt, for a first-ball duck.
The 17-year-old Aamer, who starred in Pakistan's World Twenty20 triumph in England as his side beat Sri Lanka in the final, dismissed opener Malinda Warnapura (2) and then had captain Kumar Sangakkara caught by Shoaib Malik at third slip for nine.
But Malik then dropped Paranavitana while the opener was on four, and wicketkeeper Kamran Akmal spurned an easy chance offered by Mahela Jayawardene.
The former skipper was yet to score, but went on to add 75 for the third wicket before he became Rauf's first Test wicket, caught behind by Akmal for 30.
Paranavitana went at 139-4 when he chased a short, wide delivery from Rauf and was caught by Misbah-ul Haq.
Pakistan captain Younis Khan had Samaraweera caught behind from his part-time bowling, then Tillakaratne Dilshan and debutant Angelo Mathews saw it through to tea as they added 34.
However, Dilshan's promising 28 was cut short in the first over after the interval when he sliced a wide delivery from Aamer straight to Malik at gully.
Mathews made 42 before becoming Omar Gul's first victim, then Nuwan Kulasekara made a stubborn 38 before being the eighth man down on 271 when Younis and Akmal again combined.
Rangana Herath was left stranded on 20 as off-spinner Saeed Ajmal claimed the last two wickets.
In reply, Pakistan saw Kulasekara bowl Butt for nought, and then Thilan Thushara trapped Khurram Manzoor leg before wicket.
Younis and Rauf survived the remainder of the seven overs possible before the close of play, with Dilshan conceding four byes with the final ball standing up to the stumps to Kulasekara.