Sri Lanka vs Pakistan, 1st Test: Babar's resolute century leads Pakistan fightback against Sri Lanka
Sri Lanka's left-arm spinner Prabath Jayasuriya continued his dream start in Tests by picking up his third five-wicket haul in as many innings and helped the hosts, who made 222 after batting first, to reduce Pakistan to 85-7 at one stage.
Scorecard: Sri Lanka vs PakistanBut Pakistan added 133 for their last three wickets to reach 218, courtesy of Babar's heroic 119 before the 27-year-old became the final wicket to fall for the touring side.
Sri Lanka extended their overall lead to 40 at the close of play, reaching 36-1 after losing captain Dimuth Karunaratne for 16 in their second innings.
Babar curbed his attacking instincts and farmed most of the strike to shield his tail-end batters, adding 27 for the eighth wicket with Yasir Shah (18), another 36 for the ninth with Hasan Ali (17) and a further 70 for the last with Naseem Shah (5).