Colombo, Aug 17 (AP) - Pakistan was set 271 to win the second test against Sri Lanka after Wahab Riaz and Saeed Ajmal took three wickets each to bowl out Sri Lanka for 282 in its second innings Sunday.
Sri Lanka resumed the fourth day in a strong position at 177-2 but lost their remaining eight wickets for 105 runs leaving the match evenly poised on a turning Sinhalese Sports Club pitch.
Ajmal picked up the valued wickets of overnight batsmen Kumar Sangakkara (59) and Mahela Jayawardene in his last test innings for 54. He finished with 3-89.
Riaz returned 3-76 which included two wickets in three deliveries.
Sri Lanka, which leads the two-match series 1-0, made 320 in its first innings and dismissed Pakistan for 332.