An inexperienced Sri Lanka upset top-ranked Pakistan with a 64-run victory in their first Twenty20 cricket match on Saturday.

Eighth-ranked Sri Lanka scored 165-5 before dismissing hosts Pakistan for 101.

More Images
Pakistani batsman Umar Akmal, left, looks to umpire while Sri Lankan pacer Nuwan Pradeep appeals for his dismissal during first Twenty20 match at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

An inexperienced Sri Lanka upset top-ranked Pakistan with a 64-run victory in their first Twenty20 cricket match on Saturday.

Sri Lankan batsman Danushka Gunathilaka follows the ball after playing a shot during 1st Twenty20 match against Pakistan at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

Recalled Pakistan batsmen Ahmed Shehzad (4) and Umar Akmal (0) failed in their comeback match and the hosts couldn't recover from 22-3 before bein bowled out in 17.4 overs.

Sri Lankan batsman Danushka Gunathilaka acknowledges his fifty against Pakistan during 1st Twenty20 match at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

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

Cricket fans stand in queue for security check at Gaddafi stadium ahead of 1st Twenty20 match between Sri Lanka and Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)

Cricket fans stand in queue for security check at Gaddafi stadium ahead of 1st Twenty20 match between Sri Lanka and Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)

Pakistan's army soldier stand guard while vehicle carrying Sri Lankan cricket team enter into Gaddafi stadium for 1st Twenty20 match against Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)

Pakistan's army soldier stand guard while vehicle carrying Sri Lankan cricket team enter into Gaddafi stadium for 1st Twenty20 match against Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)

Sri Lanka opener Danushka Gunathilaka smashed a career-best 57 off 38 balls after Pakistan captain Sarfaraz Ahmed opted to field after winning the toss, hoping Sri Lanka bowlers would struggle later because of dew.

Pakistani batsman Umar Akmal, left, looks to umpire while Sri Lankan pacer Nuwan Pradeep appeals for his dismissal during first Twenty20 match at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

Pakistani batsman Umar Akmal, left, looks to umpire while Sri Lankan pacer Nuwan Pradeep appeals for his dismissal during first Twenty20 match at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

Recalled Pakistan batsmen Ahmed Shehzad (4) and Umar Akmal (0) failed in their comeback match and the hosts couldn't recover from 22-3 before bein bowled out in 17.4 overs.

Sri Lanka was pulled back by 19-year-old Pakistan fast bowler Mohammad Hasnain (3-37), who grabbed a hat trick over separate overs in only his second T20 international.

The second and third T20s are also at Lahore on Monday and Wednesday respectively.

Sri Lankan batsman Danushka Gunathilaka follows the ball after playing a shot during 1st Twenty20 match against Pakistan at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

Sri Lankan batsman Danushka Gunathilaka follows the ball after playing a shot during 1st Twenty20 match against Pakistan at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

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

Sri Lankan batsman Danushka Gunathilaka acknowledges his fifty against Pakistan during 1st Twenty20 match at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

Sri Lankan batsman Danushka Gunathilaka acknowledges his fifty against Pakistan during 1st Twenty20 match at Gaddafi stadium in Lahore, Pakistan, Saturday, Oct. 5, 2019. (AP PhotoK.M. Chaudary)

Cricket fans stand in queue for security check at Gaddafi stadium ahead of 1st Twenty20 match between Sri Lanka and Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)

Cricket fans stand in queue for security check at Gaddafi stadium ahead of 1st Twenty20 match between Sri Lanka and Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)

Pakistan's army soldier stand guard while vehicle carrying Sri Lankan cricket team enter into Gaddafi stadium for 1st Twenty20 match against Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)

Pakistan's army soldier stand guard while vehicle carrying Sri Lankan cricket team enter into Gaddafi stadium for 1st Twenty20 match against Pakistan, in Lahore, Pakistan, Saturday, Oct. 5, 2019. Pakistan won the toss and elected to field in the first Twenty20 of the three-match series against inexperienced Sri Lanka. (AP PhotoK.M. Chaudary)