(CNN) -- Leg-spinner Danish Kaneria took five wickets as Pakistan claimed a 66-run first-innings lead against Sri Lanka on the second day of the third and final Test in Colombo.
Danish Kaneria claimed his 13th five-wicket haul in Tests as Sri Lanka were bowled out within three sessions.
Kaneria accounted for four of the last five wickets to fall, with the home side -- who have an unassailable 2-0 series lead -- crumbling in the final session to be all out for 233.
Pakistan then lost first-innings hero Khurram Manzoor in reaching 16-1 at stumps, meaning that 14 wickets fell in Tuesday's play.
Pakistan had resumed on 289-7 but lost both overnight batsmen, Kaneria and Kamran Akmal, without addition to the total.
Nuwan Kulasekara trapped Kaneria leg before wicket for one to end with figures of 3-47, while fellow paceman Thilan Thushara bowled Akmal for the same score and -- 10 runs later -- also skittled last man Saeed Ajmal to claim his first five-wicket haul in Tests.
Sri Lanka made the worst possible start when Malinda Warnapura was bowled by Umar Gul with the first delivery of the innings, then fellow opener Tharanga Paranavitana shouldered arms to an in-ducker from part-timer Younis Khan to leave the hosts 23-2.
Captain Kumar Sangakkara made a fluent 45 off 56 deliveries to steady the innings, surviving a dropped catch to Manzoor at gully before being unluckily trapped lbw by Ajmal with the last ball before lunch, which appeared to pitch outside leg stump.
Spinner Ajmal bowled Thilan Samaraweera for six, then Mahela Jayawardene was joined by Angelo Matthews in a 71-run stand.
Mathews, who was dropped on 12 by Akmal, made a stubborn 31 before being caught at slip by Misbah-ul-Haq to become Kaneria's first scalp.
Kaneria quickly trapped Chaminda Vaas lbw for 4, then ended Jayawardene's resistance when he bowled the experienced right-hander for 79.
Tillakaratne Dilshan, batting down the order due to an injured finger, stood firm as Kulasekara and Rangana Herath fell cheaply to the twin spin attack of Kaneria and Ajmal.
He added 29 for the final wicket with Thushara, who contributed only five, as he clubbed two sixes and two boundaries in his 44 despite suffering a nasty cut near his eye when a delivery from Ajmal went through his visor.
Dilshan fell short of his half-century when he was caught behind to give Kaneria his 13th five-wicket haul in Tests.
In Pakistan's reply, Manzoor, who compiled an impressive 93 in the first innings, had made only two off 28 deliveries when he was bowled by spinner Herath.
Captain Younis safely negotiated one delivery before stumps were called, while Fawad Alam was unbeaten on 14.