Dhananjaya de Silva finally scored his sixth test hundred on Sunday after four days of bad weather as the first test in Pakistan in more than 10 years heads toward a draw.

Wet weather has badly disrupted the test match, allowing only 91.5 overs over the first three days before the entire fourth day’s play was washed out due to rain on Saturday.

More Images
Sri Lankan batsman Dhananjaya de Silva, right, celebrates after completing his century during the fifty-day of the 1st cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Dhananjaya de Silva finally scored his sixth test hundred on Sunday after four days of bad weather as the first test in Pakistan in more than 10 years heads toward a draw.

Sri Lankan batsman Dhananjaya de Silva plays a shot during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

All four Pakistan fast bowlers were among the wickets with Shaheen Afridi (2-58) and 16-year-old Naseem Shah (2-92) sharing four wickets in between them. Debutant left-arm fast bowler Usman Shinwari finished with 1-54 while Abbas also got 1-72.

Sri Lankan batsmen Dhananjaya de Silva, left, and Dilruwan Perera run between the wickets during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Earlier, Sri Lanka declared its first innings soon after Dhananjaya reached his century with an elegant cover driven boundary off Mohammad Abbas. Dhananjaya hit 15 fours in his four-hour knock of unbeaten 102, spanned over four days, and faced 166 balls. He added 52 runs for the unbroken seventh-wicket stand with Dilruwan Perera, who remained not out on 16.

Sri Lankan batsman Dhananjaya de Silva follows the ball after playing a shot for boundary during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

More AP cricket: https://apnews.com/Cricket and https://twitter.com/AP_Sports

Sri Lankan batsman Dhananjaya de Silva plays a shot during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Sri Lankan batsman Dhananjaya de Silva plays a shot during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Dhananjaya, who came to bat on day one, completed his deserved test century after play resumed on Sunday in bright sunshine as Sri Lanka declared its first innings at 308-6 after resuming on 282-6.

Sri Lankan batsman Dhananjaya de Silva, right, celebrates after completing his century during the fifty-day of the 1st cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Sri Lankan batsman Dhananjaya de Silva, right, celebrates after completing his century during the fifty-day of the 1st cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

All four Pakistan fast bowlers were among the wickets with Shaheen Afridi (2-58) and 16-year-old Naseem Shah (2-92) sharing four wickets in between them. Debutant left-arm fast bowler Usman Shinwari finished with 1-54 while Abbas also got 1-72.

Pakistan, looking for its first ICC World Test Championships points, ran into early trouble when Shan Masood got out for zero as he threw away his wicket by giving a tame catch to seamer Rajitha Fernando’s full toss.

Debutant Abid Ali is not out on 31 while captain Azhar Ali is unbeaten on 21 at lunch with Pakistan reaching 54-1.

Sri Lankan batsman Dhananjaya de Silva plays a shot during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Sri Lankan batsman Dhananjaya de Silva plays a shot during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Earlier, Sri Lanka declared its first innings soon after Dhananjaya reached his century with an elegant cover driven boundary off Mohammad Abbas. Dhananjaya hit 15 fours in his four-hour knock of unbeaten 102, spanned over four days, and faced 166 balls. He added 52 runs for the unbroken seventh-wicket stand with Dilruwan Perera, who remained not out on 16.

Sri Lanka was the last team to play a test match in Pakistan, when terrorists attacked the touring team's bus in Lahore in March 2009. The ambush killed eight people and left several Sri Lankan players and officials injured.

In the interim, Pakistan has played its home test matches on neutral territory, mostly in the United Arab Emirates.

Sri Lankan batsmen Dhananjaya de Silva, left, and Dilruwan Perera run between the wickets during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Sri Lankan batsmen Dhananjaya de Silva, left, and Dilruwan Perera run between the wickets during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

More AP cricket: https://apnews.com/Cricket and https://twitter.com/AP_Sports

Sri Lankan batsman Dhananjaya de Silva follows the ball after playing a shot for boundary during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Sri Lankan batsman Dhananjaya de Silva follows the ball after playing a shot for boundary during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Sri Lankan batsman Dhananjaya de Silva plays a shot during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)

Sri Lankan batsman Dhananjaya de Silva plays a shot during the fifth day of the first cricket test match between Pakistan and Sri Lanka, in Rawalpindi, Pakistan, Sunday, Dec. 15, 2019. (AP PhotoAnjum Naveed)